What is the diff docker pause and docker unpause ?

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Pause command suspends all process in the container while unpause command un-suspends all process.

	root@ip-172-31-28-155:/home/ubuntu# docker pause srm
	srm
	root@ip-172-31-28-155:/home/ubuntu# docker ps
	CONTAINER ID   IMAGE     COMMAND              CREATED              STATUS                  PORTS     NAMES
	05d0bb37cd21   httpd     "httpd-foreground"   About a minute ago   Up 9 seconds (Paused)   80/tcp    srm
	
	root@ip-172-31-28-155:/home/ubuntu# docker unpause srm
	srm
	root@ip-172-31-28-155:/home/ubuntu# docker ps
	CONTAINER ID   IMAGE     COMMAND              CREATED          STATUS              PORTS     NAMES
	05d0bb37cd21   httpd     "httpd-foreground"   2 minutes ago    Up 53 seconds       80/tcp    srm