docker run

Run a command in a new Docker container. More information: https://docs.docker.com/reference/cli/docker/container/run/.

docker run {{image:tag}} {{command}}

docker run {{[-d|--detach]}} {{image}} {{command}}

docker run --rm {{[-i|--interactive]}} {{[-t|--tty]}} {{image}} {{command}}

docker run {{[-e|--env]}} '{{variable}}={{value}}' {{[-e|--env]}} {{variable}} {{image}} {{command}}

docker run {{[-v|--volume]}} {{/path/to/host_path}}:{{/path/to/container_path}} {{image}} {{command}}

docker run {{[-p|--publish]}} {{host_port}}:{{container_port}} {{image}} {{command}}

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

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