Docker is a container that runs on the Base Operating system like Linux OS, Virtualization uses the hardware resources whereas Container uses the Installed Operating system resources. In other words container platform Docker is a system program that performs the operating system level virtualization.
Several features of docker, few major features are listed below
- Open platform for developers and sysadmins to build, ship and run distributed applications
- Containers are isolated from each other and bundle their own application, tools, libraries and config files.
- Container can communicate with other container using the well defined channels
- All containers run by a single OS kernel thus uses light weight virtual machines based on Linux containers.
- Uses layered filesystem to save space and uses a copy -on-write filesystem to track the changes
- Portability – Docker can run on any Linux system that supports LXC
- Possible in future to support various operating system like Windows, OSX, Solaris
- Docker container has everything that needs to run a application like libraries, framework, application code
- Raspberry Pi Support
Docker container platform delivers cost efficient business requirements like infrastructure and maintenance costs and it supports the existing application without much changes, it unlock Dev and Ops potential. It can be used in cloud infrastructure, agile operations. Giving the developers to freedom to build, manage and secure business critical applications without any infrastructure lock.
How to Install docker
Docker supports major operating system, we can install docker in Mac, Linux and Windows Operating system
Find the below link for more information
Install Docker on Mac
Refer Installation Instructions: https://docs.docker.com/docker-for-mac/install/
Download Stable version of docker for MacBook: https://download.docker.com/mac/stable/Docker.dmg
Docker Desktop – macOS must be version 10.13 or newer, i.e. High Sierra (10.13), Mojave (10.14) or Catalina (10.15).
Mac hardware must be a 2010 or a newer model.
Once downloaded, just double click the Docker.dmg app for installation
Once dragged you will find the docker icon in dashboard and also in task bar
Install Docker in Windows
Download the latest stable version in the repository : https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe
Refer Installation procedure for Installing Docker in Windows: https://docs.docker.com/docker-for-windows/install/
Double click the Docker Desktop Installer.exe and follow the simple instruction, We will install docker in the coming posts
- Windows 10 64-bit: Pro, Enterprise, or Education (Build 16299 or later).
- For Windows 10 Home, see Install Docker Desktop on Windows Home.
- Hyper-V and Containers Windows features must be enabled.
- 4GB system RAM
- BIOS-level virtualization support must be enabled in the BIOS settings.
- 64-Bit Hardware
Install Docker in Linux
.rpm packages from the following Linux distributions and architectures,
Major Distributions Support like Redhat, Debian, Ubuntu,CentOS, Fedora, Raspbian,
Docker also provides binaries for manual installation
Install docker in CentOS/Fedora/Redhat
yum install docker-ce-<VERSION_STRING> docker-ce-cli-<VERSION_STRING> containerd.io
Install docker in Debian/ Ubuntu
$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
We will see Installation of docker and how to use in the upcoming posts of Docker container platform in detail
In this chapter Docker container platform we have gone through know how of the docker container, in the coming posts we will see in practical and how to master the docker container.
Please go through other posts that are helpful to you, you can let us know in case if you we want to add something or needs some specific topics to be covered we will get for you. Our posts are all 100% practically worked ad tested by us.
Ansible playbook https://computercarriage.com/tag/ansible-playbook/
Oracle virtual Box – https://computercarriage.com/2020/06/21/create-virtual-machine/