arrow_back
Back

Docker containers: lifecycle states and management

Andrew Dorokhov Andrew Dorokhov schedule 1 min read
menu_book Table of Contents

A container can be in one of these states:

  - created
  - restarting
  - running
  - paused
  - exited

Created

A container is created after docker create initializes it, but before it has started.

Exited

Exited usually means stopped: no active processes are running inside. (A created container also has no running processes, but it has never started.) A container exists while its main process exists. Restart a stopped container with docker start.

code

Need Help with Development?

Happy to help — reach out via the contacts or go straight to my Upwork profile.

work View Upwork Profile arrow_forward
Next Article

Docker container commands: run, exec, logs, and lifecycle

arrow_forward