Explorar el Código

Bind 3129 port to 127.0.0.1 in docker examples

tags/1.0^2
strangecamelcaselogin hace 6 años
padre
commit
c9d3020ea6
No account linked to committer's email address
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      README.md

+ 2
- 2
README.md Ver fichero

@@ -251,13 +251,13 @@ This tool will listen on port 3128 by default with the given secret.
251 251
 # One-line runner
252 252
 
253 253
 ```console
254
-docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
254
+docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 127.0.0.1:3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
255 255
 ```
256 256
 
257 257
 or in secret mode:
258 258
 
259 259
 ```console
260
-docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
260
+docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 127.0.0.1:3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
261 261
 ```
262 262
 
263 263
 You will have this tool up and running on port 3128. Now curl

Loading…
Cancelar
Guardar