Possible to exclude specific or all distrobox container updates from ujust update?

I'm not sure if this is documented anywhere or if this is possible
Solution:
I think you should be able to edit /etc/ublue-os/topgrade.toml and add a line for distrobox: ``` [distrobox] containers = ["names-of-distrobox", "you-want", "updated"]...
Jump to solution
3 Replies
Solution
amel
amel2mo ago
I think you should be able to edit /etc/ublue-os/topgrade.toml and add a line for distrobox:
[distrobox]
containers = ["names-of-distrobox", "you-want", "updated"]
[distrobox]
containers = ["names-of-distrobox", "you-want", "updated"]
If it's a general podman image you can use this reference:
[containers]
# Specify the containers to ignore while updating (Wildcard supported)
# ignored_containers = ["ghcr.io/rancher-sandbox/rancher-desktop/rdx-proxy:latest", "docker.io*"]
# Specify the runtime to use for containers (default: "docker", allowed values: "docker", "podman")
# runtime = "podman"
[containers]
# Specify the containers to ignore while updating (Wildcard supported)
# ignored_containers = ["ghcr.io/rancher-sandbox/rancher-desktop/rdx-proxy:latest", "docker.io*"]
# Specify the runtime to use for containers (default: "docker", allowed values: "docker", "podman")
# runtime = "podman"
https://github.com/topgrade-rs/topgrade/blob/main/config.example.toml
Parmethyst
ParmethystOP2mo ago
Thank you! I will try it
amel
amel2mo ago
Oh and if you want to disable updating all containers
[misc]
disable = ["containers", "distrobox"]
[misc]
disable = ["containers", "distrobox"]
depending on your needs. For best results refer to the example config!

Did you find this page helpful?