A container that's misbehaving is one of those problems where your instinct works against you. The pressure pushes you toward the dramatic move — restart it, redeploy, rebuild the image — before you actually know what's wrong. Most of the time the answer was sitting one cheap command away, and ...

Source: [Dev.to](https://dev.to/jjoyneriv/debugging-containers-from-the-terminal-a-practical-docker-cli-workflow-d18)

Sponsored