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
    45
    arrow-down
    1
    ·
    10 months ago

    I also like to run my container platform as a containerized application in another container platform.

      • redcalcium@lemmy.institute
        link
        fedilink
        English
        arrow-up
        29
        arrow-down
        1
        ·
        edit-2
        10 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.