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.

  • @[email protected]
    link
    fedilink
    English
    29
    edit-2
    11 months ago

    TIL, docker has a snap package, and can’t stop laughing. What’s next? A flatpak or AppImage?

    • @[email protected]
      link
      fedilink
      English
      1611 months ago

      A flatpak of the snap, running in a docker container inside a vm for maximum security.