瀏覽代碼

Update README.md

- little typo in docker command line 
- added more preferred 'secure only' example
tags/0.16
Dmitry V. Roenko 7 年之前
父節點
當前提交
5f1d1ce883
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 8 行新增2 行删除
  1. 8
    2
      README.md

+ 8
- 2
README.md 查看文件

@@ -226,13 +226,19 @@ This tool will listen on port 3128 by default with the given secret.
226 226
 # One-line runner
227 227
 
228 228
 ```console
229
-docker run --name mtg --restart=unless-stopped -p 3128:3128 -q 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
229
+docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16)
230 230
 ```
231 231
 
232 232
 or in secret mode:
233 233
 
234 234
 ```console
235
-docker run --name mtg --restart=unless-stopped -p 3128:3128 -q 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
235
+docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16)
236
+```
237
+
238
+or in secret ONLY mode:
239
+
240
+```console
241
+docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable -s dd$(openssl rand -hex 16)
236 242
 ```
237 243
 
238 244
 You will have this tool up and running on port 3128. Now curl

Loading…
取消
儲存