Earlier quoted context omitted.
> They keep claiming their stuff is more secure; is that wrong? The docker daemon has a large surface area and also has fairly hefty privileges. It's a juicy target of attack. A platform can take various actions to further lock down the runtime with AppArmor or SELinux, but out of the box you wind up hearing the motto that "containers don't contain". Notably, the docker daemon has too many responsibilities. It's a bu…
I hate to engage in this petty in-fighting (especially since I want podman to succeed and actually be as secure and well-designed as rkt was but with OCI runtime support). Unfortunately, I don't agree with this whole "it must be more secure because we broke it into bits" argument. That alone is not sufficient in order to increase security. The vast majority of the code in libpod/cri-o is very similar to (generate a c…
Dockerless, part 3: Moving development environment to containers with Podman
21–30 of 42 posts
Re: Dockerless, part 3: Moving development environment to containers with Podman
#22At my company we did our own docker execution environment. We generally like docker's layers and packaging, but dislike the runtime. With AWS you already have a virtualization, why do we need another layer? We packaged a super slim Linux with an init that just has some minimal code reading out of AWS EC2 user info the conf. Downloads docker hub image and runs it as a process. No virtual networking or ssh access. No m…
It sounds very inefficient to be honest. Containers don't add much overhead - they are essentially processes that run in constrained environments (see http://man7.org/linux/man-pages/man7/namespaces.7.html ). Why dedicate an entire ec2 instance to a single container?
You would scale the virtual machines to try and reach optimal resource usage rather than pick a standard fleet of virtual machines for all workloads and let a scheduler do some kind of knapsack scheduling based on available resources.
Re: Dockerless, part 3: Moving development environment to containers with Podman
#23Earlier quoted context omitted.
Docker's runtime is long spun out into containerd (though there is more work to do here). Builder is in buildkit, which sits on top of containerd. Would be nice to decouple networking, this will take some work. Docker is more and more becoming an API that sits on top of a bunch of other services. It does take time to make this happen without breaking compatibility, though. Docker can also run without root as of Docke…
Agreed. One other point is containerd isn't a Kubermetes specific runtime. Why cri-o chose to lock in like that doesn't seem to make long term sense except with regard to ease of development.
This is loosely similar to how rkt operated, with rktnetes just being a front-end for rkt (though at the time, the CRI didn't exist so it was all hardcoded in Kubernetes).
The goal isn't to have a differently-named daemon required in order to do any operation, and podman enables that (though again, so did rkt).
Re: Dockerless, part 3: Moving development environment to containers with Podman
#24At my company we did our own docker execution environment. We generally like docker's layers and packaging, but dislike the runtime. With AWS you already have a virtualization, why do we need another layer? We packaged a super slim Linux with an init that just has some minimal code reading out of AWS EC2 user info the conf. Downloads docker hub image and runs it as a process. No virtual networking or ssh access. No m…
So if you have 10 services deployed on 10 ec2 instances each, you will need 200 ec2 instances to give yourself 50% headroom for each service.
With containers, you can give each container 10x headroom for the same amount of hardware.
Re: Dockerless, part 3: Moving development environment to containers with Podman
#25Re: Dockerless, part 3: Moving development environment to containers with Podman
#26I’m dense about alt-containers but why? Is this all about Docker security issues? Is Docker too passé now that it’s in production everywhere? Why should I spend money on not using Docker in 2019?
Docker has the issue of needing a daemon that runs as another user. Aside from being a security issue it’s just inconvenient and Docker has to go through great lengths to make it all transparent.
Re: Dockerless, part 3: Moving development environment to containers with Podman
#27Earlier quoted context omitted.
It sounds very inefficient to be honest. Containers don't add much overhead - they are essentially processes that run in constrained environments (see http://man7.org/linux/man-pages/man7/namespaces.7.html ). Why dedicate an entire ec2 instance to a single container?
It wasn't that long ago that we were doing service-per-VM and really OP has just described an implementation of that strategy with containers. You would scale the virtual machines to try and reach optimal resource usage rather than pick a standard fleet of virtual machines for all workloads and let a scheduler do some kind of knapsack scheduling based on available resources.
Meanwhile containers enable you to run multiple services on the same VM, scale them horizontally as you need on the same pre-determined amount of resources, use blue/green deployments to spread your services throughout your VMs automatically, and achieve all of this automatically and effortlessly.
Re: Dockerless, part 3: Moving development environment to containers with Podman
#28I’m dense about alt-containers but why? Is this all about Docker security issues? Is Docker too passé now that it’s in production everywhere? Why should I spend money on not using Docker in 2019?
You should use what works for you - ultimately you know your context and circumstances better and you can make the decisions that affect you/your team better than any of us.
HN is not an indicator of industry trends, but more of a set of interesting articles and viewpoints that come together, though you will often see authors and commenters pushing hard in certain directions.
In this instance, have a look at the author's part 1 under 'Reasons to switch', see if any of the reasons given work for you.
https://mkdev.me/en/posts/dockerless-part-1-which-tools-to-r...
Re: Dockerless, part 3: Moving development environment to containers with Podman
#29I’m dense about alt-containers but why? Is this all about Docker security issues? Is Docker too passé now that it’s in production everywhere? Why should I spend money on not using Docker in 2019?
> Why should I spend money on not using Docker in 2019? You should use what works for you - ultimately you know your context and circumstances better and you can make the decisions that affect you/your team better than any of us. HN is not an indicator of industry trends, but more of a set of interesting articles and viewpoints that come together, though you will often see authors and commenters pushing hard in certa…
Re: Dockerless, part 3: Moving development environment to containers with Podman
#30If only Minikube could support installing rootless Kubernetes directly in Podman containers on Linux. I love the concept of Podman, but without an easy installer for Kubernetes it seems mostly pointless for most use cases.