Opening a shell in a Docker Container
1 min read
I regularly forget how to create a shell inside of an active Docker container, so I’m leaving it here:
docker container ls
or just
docker ps
Grab the CONTAINER ID
and…
docker exec -it <container_id> /bin/bash