Docker Community Forums

Share and learn in the Docker community.

How to persist pause for a container? boot, reboot

dockercon
docker

(Thufirh) #1

How can I pause a docker container across boots?


ubuntu@ip-172-31-14-19:~$ 
ubuntu@ip-172-31-14-19:~$ sudo docker container unpause 4593fa75f72b
Error response from daemon: Container 4593fa75f72b1f5e938be8d4c0102570d99273b95c47d743e2bded7224d5f44a is not paused
ubuntu@ip-172-31-14-19:~$ 

Can I “save” rather than pause somehow?


(Sam) #2

you can use stop and start… stop just ends executing NOW… and start resumes it… and filesystem changes are kept