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!

  • thom@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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