• Docker
  • What is the Container Lifecycle?

Create --> Start --> Stop --> Start --> Restart --> Pause --> Unpause --> kill --> Remove

Container Lifecycle is like the journey of an app form born to die

  • Container created
  • Container got started
  • If User want to Stop then Stop.
  • Then Again for using that container we should start or restart the container
  • If we want any container to Pause then Pause
  • Same if we want to resume the container services then Unpause.
  • If we want to kill any Container then Use Kill
  • And after that we can remove that container