Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Docker CE in Linux system

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install Docker CE in Linux system? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

1. View Linux system information nuame-a

Mine is Debian amd64.

two。 Check the name of the Linux system distribution lsb_release-cs

Mine is stretch.

3. Go to the download package page https://download.docker.com/linux/

For the Debian obtained in the first step, click to enter debian > dists to enter the connection address https://download.docker.com/linux/debian/dists/

The second step is to get stretch. Click stretch > pool > stable > amd64 https://download.docker.com/linux/debian/dists/stretch/pool/stable/amd64/.

I chose the latest 2017-03-01, copy and download link address: https://download.docker.com/linux/debian/dists/stretch/pool/stable/amd64/docker-ce_17.03.0~ce-0~debian-stretch_amd64.deb

4. Download wget download connection

5. View the download file:

6. Install Docker CE and change the path below to the path where you downloaded the Docker package

$sudo dpkg-I / path/to/package.deb

Mine is:

7. Wait for the installation to complete and verify that Docker CE is installed correctly by running the hello-world image

$sudo docker run hello-world

This is the answer to the question about how to install Docker CE in the Linux system. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report