dephell docker shell¶
Run a shell inside of the Docker container for a current project and environment. Dephell tries to get the best shell in the following order:
- zsh
- bash
- sh
The command is also useful for quick experiments with project in the isolated environment:
$ sudo dephell docker shell --docker-container=tmp
WARNING creating container... (container=tmp)
INFO openning shell... (container=tmp)
sh: 1: zsh: not found
root@d6ceb924fea6:/opt/project#
See also¶
- dephell docker create to read how dephell creates a new container.
- dephell docker run to run a command inside a container.