From e5935bd923cc2f762d62178e95cb598ca0c1ace4 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 17 Apr 2014 18:43:06 -0400 Subject: [PATCH] Fixed #5282 - deprecated -name syntax Docker-DCO-1.1-Signed-off-by: James Turnbull (github: jamtur01) Upstream-commit: a75758fcf648ed22fe979cbb625c209a92c5d873 Component: engine --- components/engine/docs/sources/use/port_redirection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/docs/sources/use/port_redirection.md b/components/engine/docs/sources/use/port_redirection.md index 33ac9d9158..bb4c8bafc1 100644 --- a/components/engine/docs/sources/use/port_redirection.md +++ b/components/engine/docs/sources/use/port_redirection.md @@ -74,7 +74,7 @@ port on the host machine bound to a given container port. It is useful when using dynamically allocated ports: # Bind to a dynamically allocated port - docker run -p 127.0.0.1::8080 -name dyn-bound + docker run -p 127.0.0.1::8080 --name dyn-bound # Lookup the actual port docker port dyn-bound 8080