User Tools

Site Tools


docker_run

This is an old revision of the document!


Docker Run Command

Flag Explanation
-i Interactive Container
-t creates a pseudo-TTY that attaches stdin and stdout
–rm Remove the container after the command/script has finished
-v adds a volume to the container

docker run -it -v /home/luke/documents:/location/on/container imageID




docker_run.1444136790.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