瀏覽代碼

Bind 3129 port to 127.0.0.1 in docker examples

tags/1.0^2
strangecamelcaselogin 6 年之前
父節點
當前提交
c9d3020ea6
沒有連結到貢獻者的電子郵件帳戶。
共有 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…
取消
儲存