User Tools

Site Tools


docker_run

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_run [2015/10/06 14:43] luke7858docker_run [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 10: Line 10:
 | -h       | | -h       |
 networking source http://docs.docker.com/userguide/dockerlinks/ networking source http://docs.docker.com/userguide/dockerlinks/
-== Example Run with Volume ==+== Example Run with Mounted Volume ==
 <sxh bash> <sxh bash>
 docker run -it -v /home/luke/documents:/location/on/container imageID docker run -it -v /home/luke/documents:/location/on/container imageID
 </sxh> </sxh>
 +=== Example Run MountedVolume&SpecifiedPort ===
 <sxh bash> <sxh bash>
 +docker run -it -p 80:8081 -v /home/luke/documents:/location/on/container imageID
 </sxh> </sxh>
  
docker_run.1444142610.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki