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
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.