安装 Docker 的AUFS存储驱动程序
sudo apt-get install
linux-image-extra-$(uname -r)
linux-image-extra-virtual
开始安装docker:
安装docker包:
sudo apt-get install
apt-transport-https
ca-certificates
curl
software-properties-common
添加Docekr的官方GPG密钥:
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
设置stable稳定的仓库:
sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"
更新apt包:
sudo apt-get update
安装Dockers IO
apt-get install docker.io
运行Docker:
systemctl start docker
查看状态
systemctl status docker