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
Sometimes you may need to modify or add exposed p...
1. Command Introduction bzip2 is used to compress...
Disable swap If the server is running a database ...
Table of contents How to deploy MySQL service usi...
Xrdp is an open source implementation of Microsof...
Mysql converts query result set into JSON data Pr...
Table of contents Stabilization Throttling Summar...
This article shares the specific code of js to re...
Table of contents Common array methods Adding and...
In order to enhance the ability to write JavaScri...
Table of contents 1. Anti-shake 2. Throttling 3. ...
Does time really exist? Some people believe that ...
Preface I encountered a situation at work: In the...
System and user environment design <br />Th...
1. There are many Python version management tools...