Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify user name / UID and group name / GID when running container. #3

Closed
bigbrozer opened this issue Jan 6, 2017 · 0 comments

Comments

@bigbrozer
Copy link
Contributor

bigbrozer commented Jan 6, 2017

See --user / --group in docker run reference:

New environment variables:

  • SYNCTHING_USER / SYNCTHING_USER_UID
  • SYNCTHING_GROUP / SYNCTHING_GROUP_GID

Create a docker-entrypoint.sh which will use such environment variables to create the user and group dynamically at container runtime instead of during image build.

@bigbrozer bigbrozer self-assigned this Jan 6, 2017
@bigbrozer bigbrozer added this to the v1.0.0 milestone Jan 6, 2017
bigbrozer added a commit that referenced this issue Jan 6, 2017
* SYNCTHING_USER
* SYNCTHING_USER_UID
* SYNCTHING_GROUP
* SYNCTHING_GROUP_GID

Issue #3
bigbrozer added a commit that referenced this issue Jul 7, 2019
* SYNCTHING_USER
* SYNCTHING_USER_UID
* SYNCTHING_GROUP
* SYNCTHING_GROUP_GID

Issue #3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant