[Installation] Ubuntu18.04 Docker Tutorial

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/iefenghao/article/details/90747642

Docker Profile

Docker is an open source application container engine that lets developers can package their applications as well as a portable container to the dependencies, and then posted to any popular Linux machine, can be virtualized. The container is full use of the sandbox mechanism will not have any interface with each other.

Environment: Virtual Machine Ubuntu18.04 + kernel version linux-4.19.23

Installation Docker following steps:

(1) Update

sudo apt update

(2) is mounted reliance

sudo apt install apt-transport-https ca-certificates curl software-properties-common

(3) Add Dokcer official key to the system

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

(4) adding a source Docker

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"

(5) update at the source

sudo apt update

(6) View docker version can be installed

apt-cache policy docker-ce

(7) to start the installation docker

sudo apt install docker-ce

(8) Testing

docker --version

sudo docker run hello-world

More successful installation Docker

 

Guess you like

Origin blog.csdn.net/iefenghao/article/details/90747642