• randomaside@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    There are a few applications out there that I don’t fully understand the deployment of but seem to work in containers.

    Typically the storage is mounted outside of the container and passed through in the compose file for docker. This allows your data to be persistent. Ideally you would also want those to reside in a file system that can easily be snapshot like ZFS. When you pull down a new docker container, it should just remount the same location and begin to run.

    Or at least that’s how I’d imagine it would run. I feel like one would run into the same challenges people have running databases persistently in containers.