ubuntu16.04下安装DOCKER

 最近装机经常做这事,因为上官网太慢所以把官网上的步骤复制下来

$ uname -r

$ apt-get install apt-transport-https ca-certificates

$ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys58118E89F3A912897C070ADBF76221572C52609D

$ echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list

$ apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual

$ apt-get install docker-engine

相关推荐