Step 1: Add Ubuntu source Switch to root su root Edit software source files vim /etc/apt/source.list Add to deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable As shown in the figure: Add the public key of the software source curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Step 2: Update the cache of software sources apt update Step 3: Install Docker apt install docker-ce During the execution, I encountered a dependency problem. Containerd.io is missing. If the above dependencies are missing, just download the corresponding dependencies. Go to download dependencies https://download.docker.com/linux/centos/7/x86_64/stable/Packages/ Download the rpm package whose version is greater than the above requirement, then convert the rpm package into deb package through the alien command, and then install it through dpkg -i xxx.deb First you need to install alien via apt install alien Then open the terminal in the download directory and execute alien xxxx.rpm to generate a deb package in the current directory. You can double-click it to install it in the graphical interface. Then execute the above apt install docker-ce, or you can also download the rpm package of docker-ce from the website Then generate a deb package for installation View version: This is the end of this article about how to install the latest version of docker using deepin apt command. For more information about deepin apt installation of docker, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Detailed explanation of Vue login and logout
>>: Learn Node.js from scratch
Table of contents need: Main points: According to...
It is mainly a CSS style control and a META tag; C...
Table of contents definition structure Examples C...
Table of contents in conclusion Practice Analysis...
Table of contents Common key aliases Key without ...
To understand load balancing, you must first unde...
Preface: The "Getting Started with MySQL&quo...
1. Overview of viewport Mobile browsers usually r...
Table of contents Document Object Model (DOM) DOM...
Problem: The PHP program on one server cannot con...
background: As a DBA, most of the DDL changes of ...
mysql dirty pages Due to the WAL mechanism, when ...
Add the following code to the CSS style of the el...
Written in front No matter how well the code is w...
Table of contents 1. Problem Discovery 2. View de...