Are there states other than "running", "paused" and "stopped" or are these the only states available?
Asked
Active
Viewed 2.5k times
2 Answers
50
No, there are other possible states. The Docker Remote API defines the following states:
createdA container that has been created (e.g. withdocker create) but not startedrestartingA container that is in the process of being restartedrunningA currently running containerpausedA container whose processes have been pausedexitedA container that ran and completed ("stopped" in other contexts, although acreatedcontainer is technically also "stopped")deadA container that the daemon tried and failed to stop (usually due to a busy device or resource used by the container) - Added on v1.22
Diogo Almiro
- 363
- 3
- 15
Adrian Mouat
- 44,585
- 16
- 110
- 102