After my previous restart I did an apt-get update and apt-get upgrade (I can never remember which comes first without checking!). Obviously it needed a restart to complete. Which makes sense of course.
Thank you, clearly I still have some way to go with learning Linux.
One last thing, how do I upgrade Portainer?
I’m getting a message saying, “upgrade your Portainer instance to 1.22.2. This release offers fixes to a range of security issues that have come to light in our ongoing testing”
So I use docker-compose and also watchtower for my non-HA containers. Watchtower will automatically detect and update to a new version.
With docker-compose you do a pull, down and up to get new images and run again. Much better than running commands.
That will be faster as well and will only restart the docker that is changed as well…
I still need to pull my containers down though because it doesn’t map the data folder on my NAS before docker has started so I do have to restart the containers anyway. I have never been able to find a way to make docker wait to start until the drive is mapped…
I’m reluctant to add the mount to requires as well… It’s odd it doesn’t work for me. Be interested if you get it to work. Seems like the ideal solution.
Even if I could delay docker starting for a minute…