diff --git a/docs/sources/use/port_redirection.md b/docs/sources/use/port_redirection.md index 33ac9d9158..bb4c8bafc1 100644 --- a/docs/sources/use/port_redirection.md +++ b/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