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