News for hackers. Stuff that matters.
Re:Docker and Security [pdf] by cuckcuckspruce on Thursday March 10, 2016 @10:02AM (#11259545)
This is what sudo is for. Give each user access to run their containers (and only their containers) as a member of the docker group in sudoers.
Re:Docker and Security [pdf] by mbreese on Thursday March 10, 2016 @08:03PM (#11263898)
This doesn't work when users may need to run arbitrary (or user-defined) containers. You can only sudo so much... But, perhaps you could restrict it to "sudo docker run". I'll have to give that a try. But that would make it extraordinarily more difficult for a user to stop / rm / kill a container. Plus, it's not like docker has the concept of an "owner" for a container - does it?

Nonetheless, you shouldn't need to run anything as root in order to start a container that doesn't require extra privileges .

Re:Docker and Security [pdf] by TheDong on Thursday March 10, 2016 @12:37PM (#11260569)
Please clarify what you mean by "access to run ... only their containers". How is that possible?
Re:Docker and Security [pdf] by geggam on Thursday March 10, 2016 @11:53AM (#11260323)
sudo arguably is another vector of attack