vulhub

docker安装

2019-07-19  本文已影响27人  3mi1e

引自:
安装docker

安装步骤

//step 1

apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-get install dirmngr

//step 2

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

//step 3
echo 'deb https://apt.dockerproject.org/repo debian-stretch main' >
/etc/apt/sources.list.d/docker.list

//step 4
apt-get update
apt-get install docker-engine //这一步得等很久。。

//step 5
service docker start //启动docker服务即可

上一篇下一篇

猜你喜欢

热点阅读