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.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more