Installation of docker on CentOS, Redhat and Fedora & Terminology

Spread the love

Terminology :

This time Docker is very hot technology and most of the companies and businesses are adopting and moving application to this application containers technology because it’s features of multiple apps on same server , easy to handle and application can be shipped easily .

Here in this article we will discuss about Linux Containers and Docker technology and also installation method available on CentOs , RHEL and Fedora. Now I am going to try to explain about terminology used and installation in Linux box .

About Docker :

This is a software or tool that manage containers , create and controlling them . It creates an image or snapshot and move the server applications or api from VPS or VM’s to Linux Containers . The image contains an application and its dependencies. Now container can be started . images can be portable , save and exported to other system .

Linux Containers :

A Linux container is a lightweight application programme that permits to the kernel to run bundles of process in their own particlular confined client spaces, seprate from the host system. It have own list of process like file system, network and other daemon process. The three feature implement on linux container that is namespaces for isolation , control groups for resources control and selinux security.

Images :

A Docker images is a snapshot of linux container configuration which used to launch a container. The image having read only layer that can not be modified and its adds a read write overlay to which all changes are made.

Here we are going to install and configure docker on latest versoin of CentOS , RHEL and Fedora version , below are the details of OS and kernel requirement for runs the docker. Recently 1.8.2 and 1.8.3 version has been released they fix a some bugs with incorrect network namespace issue.

Registry :

The registry highly scalable application and stateless that can pull and push images as a tar archive and can be loaded manually they will be pulled from registry.Images can be pushed and pulled by other machines in the network.

Installation

Installation Prerequisites :

Support OS Version :CentOS 7 , RHEL 7 , Fedora 21 and Fedora 22

Kernel Version : Kernel should be minimum 3.10 and architecture should be 64-bit

To check the current version of kernel you are running on Linux Operation System , Run below command.

# uname -r

Output should be like below like 3.10 .

3.10.0-229.14.1.el7.x86_64

Installation of Docker on CentOS 7 , RHEL 7, Fedora 21 , 22

Here we have two type of installation of Engine thorugh YUM Repository or Curl Script which will run and install required package, but before installation your system packages should be updated.Below command is for package updated on your system or server.

Here we are assuming you have root privileges , if your user have sudo privileges then you will add sudo before executing any command.

# yum update

Docker Install thorugh curl script

Run the below command for curl script installation.

#curl -sSL https://get.docker.com/ | sh

After install through curl script follow point Number (5) from below you YUM Repository Installation Method .

Docker search the centos image in local file system but when it not get then it starts to download the centos image from docker registry. Here i have put some output of the above command . in full output docker decscibe how they work on this message print.