What is Docker? Introduction guide to Docker for beginners.
Docker! Its kind of hot cake right now in IT industry. Docker is a thing now! If you are into system administration, IT operations, developments or DevOps then at some point in time you may have or will come across work Docker and you wonder what is docker? Why is docker so famous? So, in this small introduction guide to Docker, we will explain you about Docker.
Read all docker or containerization related articles here from KernelTalk’s archives.
What is Docker?
Docker is another layer of virtualization where virtualization happens at the operating system level. It’s a software container platform and currently leading this sector globally. You must be familiar with VMware which is virtualization at bare metal level but docker takes one steps forward and virtualize things at OS level and hence removing all hardware management, capacity planning, resource management etc. VMware runs a number of virtual machines (VMs) on single server hardware (refer Figure 1) whereas Docker runs number of containers on single Operating System (refer Figure 2). So in simple terms, Docker containers are just processes sharing host operating system to perform their tasks.
Lets quickly run through the difference between VM and Docker containers. I tabulated the difference for a quick read.
Virtual machine v/s Docker container
Docker engine mainly runs on Linux. So if you are running Docker on Windows or MAC then its actually running tiny Linux VM in the background on your Windows or MAC and on top of it, it’s running its own engine to provide you Docker functionalities on non-Linux platform.
Since Docker engine runs containers it also termed as containerization!
Why use Docker?
Docker containers are portable. They can be stored as an image which can be copied to any other machine and can be launched there. This ensures even if host OS parameters, version changes containers still functions the same across different OS.
Containers use host operating system, they don’t have their own OS to boot when containers are launched. It means they are almost available for use immediately as there is not booting of OS of anything that sort which takes time to prepare the container for use. Docker containers are fast to use!
They use resources from host OS, there is no resource management like adding/removing CPU, memory, storage etc tasks on containers!
There are lots of functionality, flexibility being added to Docker every month. Its fast evolving virtualization concept and gives you more ease of managing IT infra.
What are Docker variants available to use?
At present, there are two editions available. CE and EE. CE stands for Community Edition and EE stands for Enterprise Edition. Let’s see the difference between Docker CE and Docker EE.
Docker also releases in two forms. Stable and Edge. Let’s see the difference between Docker stable release and Docker edge release.
Where to get Docker?
Docker can be downloaded from Docker’s official store . For each platform, related instructions are included. Detailed installation steps and other information on Docker can be found on Docker’s official documentation portal. You can also refer our article to install Docker on Linux.
I believe that should be enough for an introductory article on Docker. If you have any questions/feedback, please leave us comment below or reach us using contact form.