Access Shell inside a running Docker container
List the currently running containers and note down the required Container ID
with:
docker ps
Start a shell
session (or bash
to be specific) in the running container using it's Container ID
:
docker exec -it <container_id> bash