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

Win10 uses Tsinghua source to quickly install pytorch-GPU version (recommended)

Check whether your cuda is installed Type in the ...

How to modify port 3389 of Windows server 2008 R2 remote desktop

The default port number of the Windows server rem...

Detailed steps to install JDK and Tomcat in Linux environment

Table of contents 1. Install JDK Manual Installat...

Example of asynchronous file upload in html

Copy code The code is as follows: <form action...

Add ?v= version number after js or css to prevent browser caching

Copy code The code is as follows: <span style=...

Solution to the timeout problem when installing docker-compose with PIP

1: Installation command pip install docker-compos...

XHTML Getting Started Tutorial: Using the Frame Tag

<br />The frame structure allows several web...

Detailed process of upgrading glibc dynamic library in centos 6.9

glibc is the libc library released by gnu, that i...

MySQL installation and configuration tutorial for Mac

This article shares the MySQL installation tutori...

A brief discussion on three methods of asynchronous replication in MySQL 8.0

In this experiment, we configure MySQL standard a...

Vue realizes adding watermark to uploaded pictures (upgraded version)

The vue project implements an upgraded version of...

MySQL 8.0.12 installation graphic tutorial

MySQL8.0.12 installation tutorial, share with eve...

Implementation of select multiple data loading optimization in Element

Table of contents Scenario Code Implementation Su...

React implements dynamic pop-up window component

When we write some UI components, if we don't...