1. ReasonsIf 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 steps1. 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:
|
<<: 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
Table of contents Custom Vite plugins Using vite-...
Table of contents 1. Literals 1.1 Numeric literal...
The installation of Harbor is pretty simple, but ...
Download tutorial of mysql-connector-java.jar pac...
In the front-end and back-end separation developm...
Based on daily development experience and relevan...
one. Overview of IE8 Compatibility View <br /&...
1 / Copy the web project files directly to the we...
Table of contents Inheritance ES5 prototype inher...
If the words in the sql statement conflict with t...
Preface: The previous articles introduced the usa...
Platform deployment 1. Install JDK step1. Downloa...
Table of contents Overview 1. Application-level m...
Table of contents Precautions Necessary condition...
1. Introduction Docker has an orchestration tool ...