What is the difference between docker pause and docker unpause?

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Docker pause suspends all the process to container. Docker unpause will un-suspend all the process to container

root@ip-172-31-28-155:/home/ubuntu# docker pause rajuc
rajuc
root@ip-172-31-28-155:/home/ubuntu# docker ps | grep rajc
root@ip-172-31-28-155:/home/ubuntu# docker ps | grep rajuc
548886386f8b   httpd     "httpd-foreground"       20 minutes ago      Up 20 seconds (Paused)   80/tcp    rajuc

unpause

root@ip-172-31-28-155:/home/ubuntu# docker unpause rajuc
rajuc
root@ip-172-31-28-155:/home/ubuntu# docker ps | grep rajuc
548886386f8b   httpd     "httpd-foreground"       21 minutes ago      Up 50 seconds            80/tcp    rajuc