DEV Community

Discussion on: Docker CLI commands and what you can do with them

Collapse
 
msoedov profile image
Alex Miasoiedov • Edited

You don't need to use full path to /bin/bash

docker exec -ti containername bash

As long as executable in the $PATH you don't have to specify a full path. /bin suppose to be in the PATH in all commonly used linux distro