I spent two hours today trying to figure out why Nextcloud couldn’t read my data directory. Docker wasn’t mounting my data directory. Moved everything into my data directory. Docker couldn’t even see the configuration file.
Turns out the Docker Snap package only has access to files under the /home
directory.
Moral of the story: never trust a Snap package.
I also like to run my container platform as a containerized application in another container platform.
Yah, it’s been trash from the start. I tried it 2 years ago and the unpredictable weird shit it did was useless to try to troubleshoot. It was worse than trying to run Docker on Windows, if that can be believed.
Debian with the Docker convenience script is the way to run Docker.
Docker has an apt repo. You can add it to your Debian/Ubuntu and install and update packages normally. No need to use a script install.
Is there a difference between the apt and the install script version?
all depends on what your aptitude is configured to look for.
TIL, docker has a snap package, and can’t stop laughing. What’s next? A flatpak or AppImage?
A flatpak of the snap, running in a docker container inside a vm for maximum security.