Procházet zdrojové kódy

Merge pull request #98 from strangecamelcaselogin/master

Bind 3129 port to 127.0.0.1 in docker examples
tags/1.0^2
Sergey Arkhipov před 7 roky
rodič
revize
c2b8e88961
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      README.md

+ 2
- 2
README.md Zobrazit soubor

@@ -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

Načítá se…
Zrušit
Uložit