-
Notifications
You must be signed in to change notification settings - Fork 216
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
Rootless container support #2170
Comments
Please add (a lot more) description of why you created this issue... |
This might be useful for a student, who wishes to install cocalc on his desktop and doesn't have administrator privileges. If cocalc would run on port say 8000, there's nothing in principle, which absolutely needs root privileges (though I might be wrong/probably I am wrong about this last point.) |
Docker lets you select the port you want to open, so, I guess that's not an issue. I'm wondering if you have setup docker correctly? For us to look up anything on that, please tell us which OS you have, which version of Docker, exactly what command you're running, etc. |
Ubuntu 17.04
and
I followed the Readme and everything worked great! I didn't configure docker, I just typed
I just noticed the possibility of rootless containers, so I thought that certainly would be an improvement. |
And I would like to run:
and
without sudo, which seems to be possible? |
Well, I haven't tried it. Did you? Your remark about port numbers is good, maybe just change it to one above 1024? |
No, I couldn't figure out how to change the port number. |
It's the |
so, |
Closing, since @haraldschilly answer really totally answers the question. |
Might be worth adding this to the documentation, faq, or wiki, of |
@williamstein It doesn't work straight away. I tried to run this on my computer at the faculty where I don't have privileges. Projects don't start. The problem is that rootless docker setup typically has 65536 available user ids, which means only uids between 1 and 65536 can be used, but smc_compute generates very large uids. I hacked smc_compute to generate uids between 10000 and 10000+32768, but a more permanent solution would be better. Has anyone else tried this? |
See opencontainers/runc#774
The text was updated successfully, but these errors were encountered: