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-world
Check whether Docker CE is correctly installed for image verification.
$sudo docker run hello-world