What’s Montague: Docker User Problems and Patterns
Jeff Nickoloff
92

We developed a good solution to this problem using a really lean process manager that we’ve open-sourced for our clients to use. Basically, our developers always create containers which are “user-neutral” and are configured to be able to run as any user. Then, upon startup, our process manager (called Chaperone), configures the environment completly including setting up UID/GID and matching passwd/group usernames so that the entire container environment is easy for the developed app. We’re really curious about feedback from those who have had more experience with this, and there is a good “Try it out” section here if anyone is interested: https://github.com/garywiz/chaperone-docker