4 ms·
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
by alecsmart1 13y ago
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?
- j_s 13y agoSimplistically: if you deploy to Linux, Docker provides 90%+ of the benefits of virtualization without the performance penalty.
- brokenparser 13y agoAnd 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.
- nickstinemates 13y agoWhy not combine the two and get the value of both? And, a reminder, you can still use LXC with Docker. It's fully supported.
- brokenparser 13y agoBecause 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).
- nickstinemates 13y agoMaybe 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 - nick@docker.com
- jschorr 13y agoHere is an article my cofounder wrote giving some background and basic terminology: https://medium.com/devops-programming/7f5fd023158f https://medium.com/devops-programming/7f5fd023158f
- civild 13y agoHaving 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.
- stevekemp 13y agoI wrote an application for sharing markdown text, which you can view only at http://markdownshare.com/ 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.