container status

The current state of a container as Docker reports it, such as created, running, exited or restarting.

In more detail

docker ps shows it as Up 5 minutes, Exited (0) 2 seconds ago and so on; the number in brackets is the exit code. docker inspect -f "{{.State.Status}}" gives the bare word. A health check adds healthy or unhealthy.

Related terms

Taught in

References