Virtualization and Docker

Virtualization 101

There have been multiple conversations about virtualization in the recent past. It is quite a well-known term in this digital era, and not just with the tech community, but with people at large.

Virtualization is the creation of a virtual version of ‘anything’, ranging from operating systems, storage devices, computer network resources, etc.

Today’s IT infrastructure operates in a radically different way than it did ten years ago. Though the data centers of today appear the same at the outset, the volume of revamping that has happened behind the scenes is incredible, courtesy virtualization.

At a time when the workloads on crucial industry servers increased at an enormous rate, it became imperative to scale up the existing systems to amplify their computing speed. Upgrading the infrastructure merely in size and capability only meant more power consumption and increased maintenance. It was smart to design strategies to keep the hardware costs unchanged and implement one-time software apps to siphon the essence of these bulky resources. That is when almost all of the data centers unanimously took the path of virtualization enabled systems. This approach towards virtualization is specifically termed Hardware Virtualization / Infrastructure Virtualization.

How did the data centers achieve this?

A layer of software called the ‘Hypervisor’ (abstraction layer) was introduced above the physical hardware and several operating systems were deployed on top of it.

docker.png

This abstraction layer sits on the hardware, operates and manages all of the operating systems running on it. Thus multiple applications run simultaneously on a single server accomplishing exponential results, while still sharing the same set of resources.

Virtual Machines or VMs (application and its operating system), triggered a big leap in the area of virtualization. Almost every big player in the industry has its own Hypervisors today, making virtualization a closer reality!

Docker

Docker is often discussed in conjunction with virtualization and has greatly shaped itself up amongst modern cloud infrastructure technologies. It is an open source platform for building and deploying any application as a lightweight, portable, self-sufficient container that will run virtually anywhere. These containers run as isolated entities on a virtualization layer. The virtualization layer here is the Docker Engine. 

The forte of Docker containers lies in the fact that all containers running on a host share the underlying operating system kernel. Incorporating some of the significant Linux kernel features such as cgroups, Union file system and namespaces, Docker achieves isolation and light-weight capabilities.

docker_1.png

Building Docker containers is only a part of the plethora of tasks Docker lets us accomplish. Docker is available as a suite of utilities to build, store, deploy and manage containers. Docker Engine is the virtualization technology for building and containerizing applications, while Docker Hub is a public storage space hosted by Docker.

Benefits of Docker over Virtual Machines

Docker containers are starkly similar yet vastly different from VMs, holding some crucial advantages over the latter such as:

  • You can pack more containers on a host machine as compared to VMs. This increased scalability is a result of containers not having their own operating systems (OS) but sharing the OS from the host, unlike VMs.
  • There is an add-on effect of sharing the kernel of the host OS as well. A container can start up in seconds as compared to a VM.
  • A VM is bound to a type of a Hypervisor and every detail in the building of a VM and its deployment depends on the type of Hypervisor. Docker containers on the other hand run on any host that runs Docker.

Docker, quite a favorite...

With the buzz around Docker, an increasing number of technology companies are getting into action. There is a relentless outpouring of orchestration tools for Docker containers from plenty of sources that include startups to industry giants. Kubernetes by Google, Windows Server 2016 (Docker Engine enabled) from Microsoft, are some key examples.

Here at Ness, our team is constantly working on exploring the latest services Docker has to offer and in creating the most relevant Docker solutions for our customers.

Docker might still be relatively new, but there are multiple reasons why you should learn Docker. It has the potential to make your jobs easier, whether you are a developer or a system administrator. Through improved portability and better virtualization performance, Docker promises to be on the shopping lists of most enterprises as we move into 2016.

Related links and sources:

https://www.docker.com/

By Deepika Ritthi on Dec 17, 2015 12:20:21 AM

Deepika is a Senior Software Engineer with Ness Bangalore and is an experienced Java developer. She is passionate about reasoning and programming and actively researches on the nuances of cloud computing and virtualization server environments.

0 Comments

Sign up for our Newsletter