DEV Community

loading...

Discussion on: How do containers work when you're using both Docker and Kubernetes?

Collapse
eduardort profile image
Eduardo Reyes

I know this maybe a little bit more than ELI5 but if you want to dive further, "container" don't really exist

So basically a "container" is a combination of cgroup restrictions and namespaces, kubernetes adds containers to the same namespace so that they can be called as if they where in the same localhost.

Also, kubernetes is testing support for rkt which is kind of a docker competitor on its own.

Now, kubernetes orchestrates containers, this basically means it handles them through some strategies (deployments, daemon sets, replica sets, etc).