Skip to main content

ContainerizationBasics

Containerization Basics.

CONTAINERS IN A SERVER


References Used:

  1. https://blog.docker.com/2016/03/containers-are-not-vms/
  2. https://blog.mikesir87.io/2017/05/docker-is-not-a-hypervisor/
  3. https://devopscube.com/what-is-docker/
  4. https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b
  5. https://stackoverflow.com/questions/48251703/if-docker-runs-natively-on-windows-then-why-does-it-need-hyper-v
TODO:
Describe in brief using these references

Comments

Popular posts from this blog

What Are Containers And VMs ?

What Are Containers And VMs Container Vs VMs: Containers and VM's are similar in their goals. They both eliminate the need for separate physical hardware. They both isolate an application and its dependencies into a self contained unit so that it can run anywhere. The difference is in the how i.e. the architectural Approach VM uses Hypervisor and guest OS, to accomplish it. Container uses name spaces  control groups etc.. to accomplish it. This allows more efficient use of computing resources Both in terms of energy consumption and cost effectiveness. References Used: https://blog.docker.com/2016/03/containers-are-not-vms/ https://blog.mikesir87.io/2017/05/docker-is-not-a-hypervisor/ https://devopscube.com/what-is-docker/ https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b https://stackoverflow.com/questions/48251703/if-docker-runs-natively-on-windows-then-why-does-it-need-hyper-v <--Previous ...

Containers In Production

Containers In Production. Questions That Arise: How do i back up my container ?. How do i patch my container ?. Where does my Application Server Run ? What do i do with my existing monolithic apps ?. References Used: https://blog.docker.com/2016/03/containers-are-not-vms/ https://blog.mikesir87.io/2017/05/docker-is-not-a-hypervisor/ https://devopscube.com/what-is-docker/ https://medium.freecodecamp.org/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b https://blog.docker.com/2016/03/containers-are-not-vms/ https://stackoverflow.com/questions/48251703/if-docker-runs-natively-on-windows-then-why-does-it-need-hyper-v <--Previous       Next-->

Containers Are Not Vms

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...