1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #5284 from jamtur01/tickets/5282

Fixed #5282 - deprecated -name syntax
This commit is contained in:
Sven Dowideit 2014-04-18 09:03:55 +10:00
commit bb02624145

View file

@ -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