Introduction to Docker and installation deployment on CENTOS7

Source: Internet
Author: User
Tags docker hub yum repolist

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.