run Run a command in a new Docker container. More…
Run a command in a new Docker container. More information: https://docs.docker.com/engine/reference/commandline/run/.
docker run {{image:tag}} {{command}}
docker run -d {{image}} {{command}}
docker run --rm -it {{image}} {{command}}
docker run -e '{{variable}}={{value}}' -e {{variable}} {{image}} {{command}}
docker run -v {{path/to/host_path}}:{{path/to/container_path}} {{image}} {{command}}
docker run -p {{host_port}}:{{container_port}} {{image}} {{command}}