News for hackers. Stuff that matters.
Re:Happy Birthday Docker by alecsmart1 on Thursday March 20, 2014 @02:46PM (#7437700)
I've been reading about Docker for a while. But am unable to wrap my head around it. I've gone through the samples and I only see it good for creating SaaS apps. Can someone please correct? What am I missing? What is the brouhaha all about?
Re:Happy Birthday Docker by stevekemp on Friday March 21, 2014 @03:55AM (#7441159)
I wrote an application for sharing markdown text, which you can view only at http://markdownshare.com/

If you wanted to install it you'd need to fetch all the dependencies, configure them, setup a webserver, etc.

Or you could clone the repository then run:

   docker -t markdown/share build
And launch it as a container:

     docker -d -p 8080:80 markdown/share
That's neat, and shows how you can create/install applications and run them in an isolated fashion. e.g. Graphite, Wordpress, etc.
Re:Happy Birthday Docker by civild on Thursday March 20, 2014 @05:09PM (#7438825)
Having just gone through all of the tutorials and documentation, I can see this type of thing shaking up configuration management in enterprise environments quite significantly. The amount of headaches I have keeping several environments (Dev, Staging, Test, UAT, Pre-Prod, Prod) in sync - across any project I've worked on - would be far better maintained using this kind of container-based management.
Re:Happy Birthday Docker by j_s on Thursday March 20, 2014 @02:49PM (#7437727)
Simplistically: if you deploy to Linux, Docker provides 90%+ of the benefits of virtualization without the performance penalty.
Re:Happy Birthday Docker by brokenparser on Thursday March 20, 2014 @04:33PM (#7438516)
And without the security benefits of proper virtualisation, too. At least lxc since recently has the ability to run containers as a regular user, but I'll stick to KVM guests secured with MLS policies for now.
Re:Happy Birthday Docker by nickstinemates on Thursday March 20, 2014 @07:18PM (#7439578)
Why not combine the two and get the value of both? And, a reminder, you can still use LXC with Docker. It's fully supported.
Re:Happy Birthday Docker by brokenparser on Friday March 21, 2014 @06:58AM (#7441560)
Because the guests have their own SELinux policies. Docker containers don't come with policies, but if it would support running containers under a user account I could at least restrict each to their own category so that theoretically a chmod -R 777 / (inside a container) and access to the host wouldn't compromise other containers (unless the kernel is exploitable, in which case KVM would still win).
Re:Happy Birthday Docker by nickstinemates on Friday March 21, 2014 @02:06PM (#7443731)
Maybe we're talking past each other here, but, Dan Walsh, author of SELinux, is working to bring SELinux natively to libcontainer / docker.

I'd love to talk more about your needs and how we can help. My email is always open - [email protected]

Re:Happy Birthday Docker by jschorr on Thursday March 20, 2014 @04:36PM (#7438544)
Here is an article my cofounder wrote giving some background and basic terminology: https://medium.com/devops-programming/7f5fd023158f