I installed docker using the script for AIO Nextcloud on Ubuntu 22.04. Normally I would update the Linux OS every week, especially the security updates but I am uncertain as to what can be updated without causing problems for the docker install and it’s various containers. The docker installation itself is automatically updated by the AIO scripts.
Should I run apt-upgrade minus any docker updates or is there a wider list of applications that should only be updated from the official docker repository?
Thank you.
I assume you are asking how to make apt
package manager skip upgrades of docker-ce.
You can do so by marking them as manually installed, so they won’t get upgraded automatically:
sudo apt-mark hold docker-ce docker-ce-cli docker-ce-rootless-extras docker-buildx-plugin docker-compose-plugin containerd.io
You can revert hold
with unhold
. If you are interested in seeing the decencies, you can use apt depends docker-ce
or apt show docker-ce
to see them.
Thank you. Yes, my concern is to keep up to date with security fixes and make sure I didn’t cause the docker installation to have problems.