How to persist pause for a container? boot, reboot

How can I pause a docker container across boots?

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

Can I “save” rather than pause somehow?

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

1 Like