Replacing snap docker with normal docker

Hello, I am running a headless ubuntu server 24.04.2 install and I want to get rid of docker installed trough snap and install the regular apt package. How can I do that without losing all my containers? I have over 30 configured containers I cannot lose.
Thankyou

Generally speaking: find the containers, save them elsewhere, install the Debian package, ensure you can open the containers, remove the Snap package.

But why? I especially ask this given the version of the package. You can have 27.5.1 regularly and up to 28.0.1 with the Snap. The Debian package won’t get you anything more than 20.10.25.

In fact, I can’t even be 100% certain that the old software will be able to open the containers from the new one.

Allright. I was able to get rid of snap docker. It was causing more problems than anything for me, especially passing the nvidia gpu to the containers. It was not well documented and not working. I got it working right away with the normal package

This topic was automatically closed after 30 days. New replies are no longer allowed.