Bladeren bron

Update README.md

- little typo in docker command line 
- added more preferred 'secure only' example
tags/0.16
Dmitry V. Roenko 7 jaren geleden
bovenliggende
commit
5f1d1ce883
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 8 en 2 verwijderingen
  1. 8
    2
      README.md

+ 8
- 2
README.md Bestand weergeven

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

Laden…
Annuleren
Opslaan