2

I'll start:

When I was first learning to use Docker, I didn't realize that most tutorials that include a database don't configure the database to persist. Imagine my surprise when I couldn't figure out why the database kept getting wiped!

you are viewing a single comment's thread
view the rest of the comments
[-] thom@programming.dev 1 points 2 years ago

I still don't really know how to get mounted folders to not wreck permission on the files. You can use a non root user, but that requires users have UID 1000 when you distribute an image.

[-] Hexarei@programming.dev 1 points 2 years ago

The closest thing I've found is to allow users to specify the UID and GID to run with, but there's no good way to just auto detect that upon runtime unfortunately

this post was submitted on 01 Jul 2023
2 points (100.0% liked)

DevOps

1698 readers
1 users here now

DevOps integrates and automates the work of software development (Dev) and IT operations (Ops) as a means for improving and shortening the systems development life cycle.

Rules:

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS