瀏覽代碼

Merge pull request #98 from strangecamelcaselogin/master

Bind 3129 port to 127.0.0.1 in docker examples
tags/1.0^2
Sergey Arkhipov 6 年之前
父節點
當前提交
c2b8e88961
No account linked to committer's email address
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      README.md

+ 2
- 2
README.md 查看文件

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

Loading…
取消
儲存