Docker Containers
21%
Pausing and Unpausing Containers
Instead of stopping a container, you can also pause it. Pausing a container suspends all processes in the container using the cgroup freezer feature of the Linux kernel. It's useful when you want to temporarily halt a container without stopping it completely.
For example:
# start the container again
docker start my_nginx
# pause the container
docker pause my_nginx
# unpause the container
docker unpause my_nginx
You can verify the status of the container using docker ps
Painless Docker - 2nd Edition
A Comprehensive Guide to Mastering Docker and its EcosystemEnroll now to unlock all content and receive all future updates for free.
Unlock now  $31.99$25.59Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
