Toolbox container vanished?

Hi all,

I’ve been happily using toolbox to be able to use some Ubuntu-only software (ROS) for uni without dualbooting. I powered up my machine today only to be greeted with my container having apparently completely vanished:

[ash@sylveon ~]$ toolbox run -c pfms sudo /usr/sbin/sshd
Error: container pfms not found
Use the 'create' command to create a toolbox.
Run 'toolbox --help' for usage.
[ash@sylveon ~]$ toolbox list
IMAGE ID      IMAGE NAME                               CREATED
67016baf940c  6 months ago
[ash@sylveon ~]$ podman ps -a

(the image was based on ubuntu 20.04, the 18.04 image is unrelated)

I’m a bit stumped as to what happened. I had spent quite a while getting all the dependencies set up and installed the way they need to be, and in my ignorant bliss I didn’t think to back up the apt package list, so it’d take me quite a while to recreate.
I did find a podman system prune in my shell history - are toolbox containers affected by that? If so, is there any way I can at least see the rootfs to find the apt state?

Any help would be much appreciated!

  • Ash

I use

toolbox enter <toolbox name>

to access the one I use to access an obsolete OpenSSH.


toolbox -c <toolbox name> run <command with options>

also works.

So change the order and see if that helps.

Good luck!

Yes, Toolbox is just a wrapper tool for Podman. This is likely the cause.

1 Like

No luck, same result. Thanks though!

Ach, that’s rough. It’s easy to forget what “removes all stopped containers” means…