Use the deb package to install Docker CE in Linux

Source: Internet
Author: User

Use the deb package to install Docker CE in Linux

Use the deb package to install Docker CE on Linux.

1. view the Linux system information nuame-

My products are Debian and amd64.

2. view the Linux system release version name lsb_release-cs

Mine is stretch.

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

Step 1 get Debian, click to enter debian> dists into this connection address https://download.docker.com/linux/debian/dists/

Step 2 get stretch, click stretch> pool> stable> amd64 https://download.docker.com/linux/debian/dists/stretch/pool/stable/amd64/

I selected the latest, copy download connection 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 The wget download connection

5. view the downloaded file:

6. Install Docker CE and change the following path to the path where you download the Docker software package.

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

Mine is:

7. Wait until the installation is complete and runhello-worldCheck whether Docker CE is correctly installed for image verification.

$sudo docker run hello-world

For more Docker tutorials, see the following:

Docker installation application (CentOS 6.5_x64) https://www.bkjia.com/Linux/2014-07/104595.htm
Configuration on Ubuntu 16.04 server using Docker https://www.bkjia.com/Linux/2017-06/145176.htm
Install Docker https://www.bkjia.com/Linux/2015-07/120444.htm in Ubuntu 15.04
Docker installation instance https://www.bkjia.com/Linux/2017-04/142666.htm
Docker create basic image https://www.bkjia.com/Linux/2017-05/144112.htm
How to install Docker and basic usage https://www.bkjia.com/Linux/2015-09/122885.htm on Ubuntu 15.04
Docker Use note https://www.bkjia.com/Linux/2016-12/138490.htm on Ubuntu 16.04
Use Docker to start https://www.bkjia.com/Linux/2017-04/142649.htm of frequently used applications in minutes
Ubuntu 16.04 Docker modify configuration file does not take effect solution https://www.bkjia.com/Linux/2017-05/143862.htm

Docker details: click here
Docker: click here

This article permanently updates link: https://www.bkjia.com/Linux/2018-03/151465.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.