Re:Subuser turns Docker containers into normal Linux program...
by jdoliner on Friday February 12, 2016 @07:06AM
(#11086658)
Very cool stuff. How compatible is this with docker-machine?
[ Parent
| on HN ]
Re:Subuser turns Docker containers into normal Linux program...
by Gys on Friday February 12, 2016 @07:18AM
(#11086699)
Only for Linux: http://subuser.org/installation.html
Re:Subuser turns Docker containers into normal Linux program...
by alexlarsson on Friday February 12, 2016 @08:16AM
(#11086939)
From that page:
Warning: Being a member of the docker group is equivalent to having root access.
Not a great way to limit privileges.
Re:Subuser turns Docker containers into normal Linux program...
by Filligree on Friday February 12, 2016 @08:40AM
(#11087035)
The user using this has to be in that group, the programs being run do not.
For a single-user machine, it may be okay. But I don't trust Docker's security very much.
Re:Subuser turns Docker containers into normal Linux program...
by raesene4 on Friday February 12, 2016 @10:30AM
(#11087835)
any particular reasons you don't trust Docker security?
Re:Subuser turns Docker containers into normal Linux program...
by cyphar on Saturday February 13, 2016 @10:45AM
(#11094346)
The daemon has had many security issues. They also only recently grew support for ACLs (which are only available as plugins), so any user that can write to the Docker socket is essentially equivalent to root.
Re:Subuser turns Docker containers into normal Linux program...
by txutxu on Friday February 12, 2016 @10:57AM
(#11088082)
I'm not a docker user, but I think on binaries I can always use still capabilities, to limit what they can do.
I suppose most of them will be needed in this case, and it's still a concern.
Just did want to remember to people about linux capabilities after read your comment:
man -k cap | grep capabilities
Re:Subuser turns Docker containers into normal Linux program...
by timthelion on Friday February 12, 2016 @09:55AM
(#11087557)
It works with Docker. If you write a Dockerfile for a program, and create a permissions.json file, then your program will work with subuser. Subuser is a "very thin layer" that makes it easier to use Docker for desktop apps.