Containers Are Not VMs. VM (House) Full OS to Start with and strip away what's needed. Virtualization technology. Everything that sits on a physical Server and pack it in to a single portable binary. Container (Apartment) Start with basic and add what's needed. Application delivery technology. The abstraction is the application, more specifically a service that helps to make up the application. Containerization Basics. Containers are isolated in a host using the two Linux kernel features called namespaces and control groups. Namespaces There are six namespaces in Linux (mnt, IPC, net, usr etc.). Using these namespaces a container can have its own network interfaces, IP address etc. Each container will have its own namespace. The processes running inside that namespace will not have any privileges outside its namespace. Control Groups The resources used by a container is managed by Linux control groups. CPU and memory resour...
Comments
Post a Comment