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.
Lol. Yeah that was my reaction to the headline as well. “You did what ?”
Why does Docker has a snap version in the first place anyway? Did Canonical pester them to do it?
Edit:
Nope, it’s just Canonical went ahead and publish it there by themselves.
It’s also offered as part of the installation process at least for Ubuntu server. If you don’t know better it bites you real quick.
Now I know better. No more Ubuntu Server.
:)
Double-NAT anyone? 3 times the fun, 2 times the work