Day-1: Q3. What is the difference between docker pause and docker unpause?

DevOps

YOUR COSMETIC CARE STARTS HERE

Find the Best Cosmetic Hospitals

Trusted • Curated • Easy

Looking for the right place for a cosmetic procedure? Explore top cosmetic hospitals in one place and choose with confidence.

“Small steps lead to big changes — today is a perfect day to begin.”

Explore Cosmetic Hospitals Compare hospitals, services & options quickly.

✓ Shortlist providers • ✓ Review options • ✓ Take the next step with confidence

docker pause suspend all process in the container. docker unpause unsuspend all process in the container

root@ip-172-31-28-155:/home/ubuntu# docker start anoop2
anoop2
root@ip-172-31-28-155:/home/ubuntu# docker start anoop1
anoop1

root@ip-172-31-28-155:/home/ubuntu# docker pause anoop2
anoop2

root@ip-172-31-28-155:/home/ubuntu# docker pause anoop2
anoop2
root@ip-172-31-28-155:/home/ubuntu# docker ps -a | grep anoop
c5a741893181   httpd          "httpd-foreground"       12 minutes ago       Up 27 seconds (Paused)            80/tcp    anoop2
fc660bad9f21   httpd          "httpd-foreground"       13 minutes ago       Up 22 seconds                     80/tcp    anoop1
root@ip-172-31-28-155:/home/ubuntu#
root@ip-172-31-28-155:/home/ubuntu# docker unpause anoop2
anoop2
root@ip-172-31-28-155:/home/ubuntu# docker ps -a | grep anoop
c5a741893181   httpd          "httpd-foreground"       12 minutes ago       Up 37 seconds                     80/tcp    anoop2
fc660bad9f21   httpd          "httpd-foreground"       13 minutes ago       Up 32 seconds Code language: PHP (php)