dephell docker run¶
Run a command inside the Docker container.
$ sudo dephell docker run echo "Hello, world"
[sudo] password for gram:
INFO running... (container=dephell-dephell-nLn6-main, command=['echo', 'Hello, world'])
Hello, world
INFO done
If a command isn’t specified, dephell will try to get it from config:
[tool.dephell.main]
command = "echo 'Hello, world!'"
See also¶
- dephell docker create to read how dephell creates a new container.
- dephell docker shell to run a shell inside a container.
- dephell docker stop to stop command execution inside a container.