A container is created from an image, started as a process, and destroyed when its main process exits.
graph LR I[Image] -->|docker run| C[Container running] C -->|SIGTERM| S[Graceful stop] S --> D[Container destroyed] C -->|crash| D style I fill:#E8F5E9 style D fill:#FFEBEE