-
Notifications
You must be signed in to change notification settings - Fork 362
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
adduser: The user `root' already exists. #267
Comments
I do manage to get it to run by instead passing a custom
|
Thanks for this. I think we never considered anyone running The relevant bit of config is this bit here. It does the right thing most of the time (use the username of the user running repo2docker) except when you are root (or any other system account that already exists in the image). What do people think of special casing being executed as |
user-id can be set with |
@minrk could we just check for root with |
@choldgraf good idea. I imagine we can. |
If it still matters, just hit this issue in the |
Maybe the first thing to do here is to make I think trying to guess as what users we should be running is pretty hard, better to let the user decide for themselves. For the novice user the advice should probably be "you shouldn't be doing this, do X instead" and for the advanced user pointing them to the CLI options will let them figure out how to get unstuck. |
In a fresh installation of
docker-ce
onUbuntu-16.04
, if I try to locally build a binder repository, then I get the following logs (and finally the error):This can be deterministically replicated by :
The text was updated successfully, but these errors were encountered: