多图预警
0x00.安装
0x01.移除Amazon
sudo apt-get remove unity-webapps-common
0x02.卸载libreoffice
sudo apt-get remove libreoffice-common
sudo apt autoremove
0x06.安装Docker
卸载旧版本sudo apt-get remove docker docker-engine docker.io
更新apt
包sudo apt-get update
安装https
支持包
1 | sudo apt-get install \ |
添加Docker
官方GPG
密钥curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
1 | $ sudo apt-key fingerprint 0EBFCD88 |
添加稳定版的仓库源(amd64)
1 | sudo add-apt-repository \ |
安装DOCKER CE
sudo apt-get update
sudo apt-get install docker-ce
sudo systemctl enable docker
sudo systemctl start docker
配置加速器curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://e6d6fb48.m.daocloud.io
测试,需要sudo
sudo docker run hello-world
建立docker
用户组sudo groupadd docker
sudo usermod -aG docker $(whoami)
重新登录,这样无需sudo
docker run hello-world