I will attempt to expand more on each of these as I learn their usefulness in debugging the different phases of dockerization.
Debugging Container Builds
- docker stats <name or id> - shows memory usage / limits
- docker run <id> - can use the id of incremental build images to boot into the failing state
Debugging Container Runs
- docker events <id> - shows what docker daemon is doing in the background
- docker inspect <name or id> - inspect a particular container's configuration
- docker logs <id> - shows the logs of a particular container