Ditrobox ignores local podman image (toolbox is fine with it)

Wasted a lot of time on this, but here’s the culprit:

❯ cat /etc/distrobox/distrobox.conf 
container_always_pull="1"
container_generate_entry=1
container_manager="podman"
container_name_default="ubuntu"
container_image_default="ghcr.io/ublue-os/ubuntu-toolbox:latest"
non_interactive="1"

It seems to me that container_always_pull="1" was the reason for this. I guess the default configuration is to force-pull? I don’t know why this is so…

Anyway, to get around this, I used the relevant environment variable:

DBX_CONTAINER_ALWAYS_PULL=0 DBX_CONTAINER_MANAGER=podman distrobox create -n test --image localhost/mybox:latest

Hopefully this saves someone some time…

1 Like