docker run

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 --detach {{image}} {{command}}

docker run --rm --interactive --tty {{image}} {{command}}

docker run --env '{{variable}}={{value}}' --env {{variable}} {{image}} {{command}}

docker run --volume {{/path/to/host_path}}:{{/path/to/container_path}} {{image}} {{command}}

docker run --publish {{host_port}}:{{container_port}} {{image}} {{command}}

docker run --entrypoint {{command}} {{image}}

docker run --network {{network}} {{image}}