Detailed steps to install the specified version of docker (1.12.6) using rpm

Detailed steps to install the specified version of docker (1.12.6) using rpm

1. Reasons

If the system is Centos7.3, the Docker version installed directly using yum install docker is 1.13.1, which will cause an error when creating a container. The error is as follows:

Therefore, in order to prevent errors caused by installing a higher version of docker, you need to install version 1.12.6 of docker.

2. Installation steps

1. Download the docker installation package

Download address: https://yum.dockerproject.org/repo/main/centos/7/Packages/

You need to download 2 files, both are version 1.12.6, as follows:

2. Upload the downloaded rpm package to the server

3. Install the rpm package

Note: Install in order, first install docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm,

Then install docker-engine-1.12.6-1.el7.centos.x86_64.rpm

Order:

rpm -ivh docker-engine-selinux-1.12.6-1.el7.centos.noarch.rpm
rpm -ivh docker-engine-1.12.6-1.el7.centos.x86_64.rpm 

4. After the installation is complete, check the docker version

Order:

docker -v

docker version 

This is the end of this article about using rpm to install a specified version of docker (1.12.6). For more information about installing docker with rpm, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Install docker offline by downloading rpm and related dependencies using yum

<<:  HTML+CSS+JavaScript to create a simple tic-tac-toe game

>>:  MySQL in Windows net start mysql Start MySQL service error occurs System error solution

Recommend

Vue implements file upload and download functions

This article example shares the specific code of ...

Using js to achieve the effect of carousel

Today, let's talk about how to use js to achi...

How to print highlighted code in nodejs console

Preface When the code runs and an error occurs, w...

Example of downloading files with vue+django

Table of contents 1. Overview 2. Django Project 3...

Docker network principles and detailed analysis of custom networks

Docker virtualizes a bridge on the host machine. ...

web.config (IIS) and .htaccess (Apache) configuration

xml <?xml version="1.0" encoding=&qu...

Vue easily realizes watermark effect

Preface: Use watermark effect in vue project, you...

Use of MySQL truncate table statement

The Truncate table statement is used to delete/tr...

Summary of horizontal scrolling website design

Horizontal scrolling isn’t appropriate in all situ...

Use mysql to record the http GET request data returned from the url

Business scenario requirements and implementation...

How to deploy Redis 6.x cluster through Docker

System environment: Redis version: 6.0.8 Docker v...

Details of the order in which MySQL reads my.cnf

Table of contents The order in which MySQL reads ...

How to implement a password strength detector in react

Table of contents Preface use Component Writing D...