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:
bash
docker container ls
or just
bash
docker ps
Grab the CONTAINER ID
and…
bash
docker exec -it <container_id> /bin/bash