Skip to content

Commit

Permalink
Merge pull request moby#5284 from jamtur01/tickets/5282
Browse files Browse the repository at this point in the history
Fixed moby#5282 - deprecated -name syntax
  • Loading branch information
SvenDowideit committed Apr 17, 2014
2 parents ad8db1a + a75758f commit bb02624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/use/port_redirection.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <image> <cmd>
docker run -p 127.0.0.1::8080 --name dyn-bound <image> <cmd>

# Lookup the actual port
docker port dyn-bound 8080
Expand Down

0 comments on commit bb02624

Please sign in to comment.