标签:自己的 sources res start 教程 str mirrors href restart
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo ‘deb https://apt.dockerproject.org/repo debian-stretch main‘ > /etc/apt/sources.list.d/docker.list
apt-get install apt-transport-https ca-certificates
apt-get update && sudo apt-get install docker-engine
systemctl start docker
修改/etc/docker/daemon.json文件配置
{
"registry-mirrors": ["https://××××××.mirror.aliyuncs.com"]
}
重启docker服务:systemctl restart docker
标签:自己的 sources res start 教程 str mirrors href restart
原文地址:https://www.cnblogs.com/bingogo/p/11964802.html