Docker Cheat Sheet Open shell inside of the running container docker exec -t -i container-name /bin/bash Use /bin/sh if your Docker image doesn't has bash (e.g. Alpine).