Docker is a platform for developers and administrators to develop, deploy, and run applications! It allows you to quickly package applications as well as application deployment!
Docker consists of the following two parts:
Docker Engine: Lightweight and very powerful open-source container virtualization Technology
Docker Hub: SaaS (software as a service) service for sharing and managing application stacks
Why use Docker?
Quickly distribute apps
Easier deployment and expansion
High application run density to support running more services
Easy to manage
Docker is already integrated in RHEL7, and if you have already purchased a red Hat service, you can install it directly via the subscription channel In version 6 of RHEL6.5 and above, you will need to install the Epel package first, then install it, and for installation methods and other installation methods on the OS, please refer to the Docker website https://docs.docker.com/installation/
After a brief introduction above, start the Docker installation tour below!
Installing Docker for CentOS7
1. Prepare a CENTOS7 system
Depending on your individual needs, you can refer to Rhel7 's official documentation for installation!
2. Installing Docker
# yum Install docker-y
Installing Docker for CentOS6
Docker installation package in Epel (extra Packages for Enterprise Linux) , so if you want to install Docker, you need to install the Epel warehouse first, and currently Docker only supports 64-bit operating systems, install using the following command
# RPM-UVH http://dl. Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Update Yum source
# yum Clean All
# Yum Update
# yum Repolist
Installation
# yum Install Docker-io-y
Start Docker and configure boot boot (CentOS7)
Start/Stop Docker
# Systemctl [Start | stop | restart] Docker
Configure/Cancel Boot boot
# Systemctl [enable | disable] Docker
This article is from the "Keyman" blog, make sure to keep this source http://keyman.blog.51cto.com/9807984/1599918
Introduction to Docker and installation deployment on CENTOS7