Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Support non-1000 uid/gid with Docker 1.10 #111

Open
itamarst opened this issue Apr 4, 2016 · 2 comments
Open

Support non-1000 uid/gid with Docker 1.10 #111

itamarst opened this issue Apr 4, 2016 · 2 comments

Comments

@itamarst
Copy link

itamarst commented Apr 4, 2016

Not all users are uid 1000, as your docs note. In latest version of Docker there is feature that would allow specifying which uid to use.

Specifically Docker 1.10 supports "build args" (https://docs.docker.com/engine/reference/builder/#arg). At work we've built a Dockerfile Go dev environment that allows setting custom uid and gid for the Docker containers using these; I assume devstep could do the same.

@fgrehm
Copy link
Owner

fgrehm commented May 12, 2016

Its on my radar, not sure when I'll get to it though

@lcmen
Copy link

lcmen commented Jul 22, 2016

I think it could be vsolved by building the devstep image locally so you can pass the build argument.

Alternatively you could pass it to run command and fix permission during container startup.

For now I've just forked the repo and changed the id to 501:21 (OS X), seems to be working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants