Docker: Debugging a Running Container

This is invaluable if you run into insidious little problems in servers or automated processes that run in Docker.

docker exec -it <container name> <command>

This can even be an interactive process, such as a shell.

Advertisements