Ubuntu

Ubuntu Desktop 16.04下安装Docker

2018-01-03  本文已影响7人  qwfys

add key

sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

add sources

sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'

update

apt update

install

apt install -y docker-engine

configuration

user config

sudo usermod -aG docker $(whoami)

Using the Docker Command

docker [option] [command] [arguments]
上一篇下一篇

猜你喜欢

热点阅读