Uninstall old versions If you have installed an old version before, you need to uninstall it first: $ sudo apt-get remove docker docker-engine docker.io containerd runc Setting up a warehouse Update $ sudo apt-get update Enable $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common Add the official GPG key: $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Verify your key: $ sudo apt-key fingerprint 0EBFCD88 Set which version to use. $ sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ test" I chose the test version. Install Update $ sudo apt-get update Start Installation $ sudo apt-get install docker-ce docker-ce-cli containerd.io test $ sudo docker run hello-world refer to Get Docker Engine - Coummuntiy for Ubuntu The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Summary of situations where MySQL indexes will not be used
>>: Detailed explanation of React event binding
Today, let’s discuss an interesting topic: How mu...
Currently I have made a project, the interface is ...
Preface I'm currently working on the data ana...
It is very common to use webpack to build single-...
question: The commonly used command "ll"...
This article example shares the specific code of ...
1 Introduction Redis is a high-performance NoSQL ...
This article shares the specific code of JS to ac...
Table of contents 1. Get the file extension 2. Co...
Method 1: Use lsof command We can use the lsof co...
Set a background image for the table. You can use...
Wildcard categories: %Percent wildcard: indicates...
In addition to B-Tree indexes, MySQL also provide...
This article shares the specific code for React t...
Vue2+elementui's hover prompts are divided in...