From 5f1d1ce8830ec4b5358c2ce8ea4f72f82a1fe20e Mon Sep 17 00:00:00 2001 From: "Dmitry V. Roenko" Date: Tue, 22 Jan 2019 13:03:02 +0300 Subject: [PATCH] Update README.md - little typo in docker command line - added more preferred 'secure only' example --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 82c825f..c88a73d 100644 --- a/README.md +++ b/README.md @@ -226,13 +226,19 @@ This tool will listen on port 3128 by default with the given secret. # One-line runner ```console -docker run --name mtg --restart=unless-stopped -p 3128:3128 -q 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16) +docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable $(openssl rand -hex 16) ``` or in secret mode: ```console -docker run --name mtg --restart=unless-stopped -p 3128:3128 -q 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16) +docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable dd$(openssl rand -hex 16) +``` + +or in secret ONLY mode: + +```console +docker run --name mtg --restart=unless-stopped -p 3128:3128 -p 3129:3129 -d nineseconds/mtg:stable -s dd$(openssl rand -hex 16) ``` You will have this tool up and running on port 3128. Now curl