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.

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    1
    ·
    edit-2
    11 months ago

    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.

    This snap is built by Canonical based on source code published by Docker, Inc. It is not endorsed or published by Docker, Inc.