Explain the lifecycle of the Docker container
The docker container lifecycle refers to the five phases it passes through from its creation through its termination:
- Created – the container is in this state when it has just been created and has not yet been started
- Running – all of the processes connected to the container would be active in this state
- Paused – when the operating container has been paused, it enters this state
- Stopped – when in this state, the running container has been terminated
- Deleted – in this state, the container is no longer alive.
