Docker配置
docker安装
ubuntu
安装依赖
apt-get -y install apt-transport-https ca-certificates curl software-properties-common
安装证书
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
添加源
add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
安装Docker
apt -y install docker
安装成功后需要配置容器加速器
在docker目录下创建文件daemon.json,文件内容复制阿里云容器加速器配置