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 lsor just
bash
docker psGrab the CONTAINER ID and…
bash
docker exec -it <container_id> /bin/bash