Install Docker CE on Linux using the installation method from the package, linuxdocker

Source: Internet
Author: User
Tags docker run

Install Docker CE on Linux using the installation method from the package, linuxdocker

Install Docker CE on Linux using the installation method from the package

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

 

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.