DEV Community

Cover image for Docker container statuses
Uzeyr OZ
Uzeyr OZ

Posted on

Docker container statuses

*Docker container statuses and their meanings are as follows:
*

created: A container has been created but has not yet been started.

restarting: A container is being restarted.

running: A container is running and is being managed by the operating system.

removing: A container is being removed.

paused: A container has been paused, but is still being managed by the operating system.

exited: A container has stopped running, but is still being managed by the operating system.

dead: A container has stopped running and is no longer being managed by the operating system.

Healthy: A container is running and responding to requests

Unhealthy: A container is not running or not responding as expected

These statuses can be used for container management and automation processes. For example, if a container is in the "exited" status, it can be restarted, or if it is in the "dead" status, it can be recreated. Additionally, you can check if the container is healthy or not by using the HEALTHCHECK command.

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay