From 4ea592792460aad6d52b6e7362cf4b6b0981502a Mon Sep 17 00:00:00 2001 From: Gabor Garami Date: Tue, 9 Feb 2016 17:21:55 +0100 Subject: [PATCH] Fixed docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 42f5371..30917ad 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ A Dockerfile that produces a container that will run [Tinyproxy][tinyproxy]. ## Image Creation ``` -$ sudo docker build -t="paintedfox/tinyproxy" . +$ sudo docker build -t "paintedfox/tinyproxy" . ``` ## Container Creation / Running @@ -18,7 +18,7 @@ $ sudo docker build -t="paintedfox/tinyproxy" . Within the container, Tinyproxy will start listening on port `8888`. So, if we wish to expose the HTTP proxy service on port `8765` on the host machine, we can run the image like so... ``` -$ sudo docker run -name="tinyproxy" -p 8765:8888 -d paintedfox/tinyproxy +$ sudo docker run --name "tinyproxy" -p 8765:8888 -d paintedfox/tinyproxy ``` The `-name="tinyproxy"` names the container as *tinyproxy* so we can easily refer to its name rather than id.