this post was submitted on 24 Jan 2024
71 points (97.3% liked)

Sysadmin

7688 readers
402 users here now

A community dedicated to the profession of IT Systems Administration

No generic Lemmy issue posts please! Posts about Lemmy belong in one of these communities:
!lemmy@lemmy.ml
!lemmyworld@lemmy.world
!lemmy_support@lemmy.ml
!support@lemmy.world

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] randomaside@lemmy.dbzer0.com 1 points 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.