Przeglądaj źródła

Bind 3129 port to 127.0.0.1 in docker examples

tags/1.0^2
strangecamelcaselogin 6 lat temu
rodzic
commit
c9d3020ea6
No account linked to committer's email address
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      README.md

+ 2
- 2
README.md Wyświetl plik

251
 # One-line runner
251
 # One-line runner
252
 
252
 
253
 ```console
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
 or in secret mode:
257
 or in secret mode:
258
 
258
 
259
 ```console
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
 You will have this tool up and running on port 3128. Now curl
263
 You will have this tool up and running on port 3128. Now curl

Ładowanie…
Anuluj
Zapisz