If you do a rollback, I assume your data remains? I assume you might need to reinstall apps which were not in the original? Or does it keep apps, data and settings across a restore?
In CoreOS (Silverblue), /etc
, /var
and /home
(which is in fact a symlink towards /var/home
) are regular writable partitions, so your data, configs and personal files are not touched by the upgrade/rollback procedure.
All the packages (and their dependencies) you’ve installed extra are also upgraded/rolledback when you do a system upgrade.
I don’t know if this works in
docker
(usually there is 1:1 equivalency between the two), but withpodman
you can do something like:podman stop --filter name=foo
man podman-stop
tells us:--filter, -f=filter Filter what containers are going to be stopped. Multiple filters can be given with multiple uses of the --filter flag. Filters with the same key work inclusive with the only exception being label which is exclusive. Filters with different keys always work exclusive.