简易安装
网址: https://get.docker.com/
命令:
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh --mirror Aliyun
systemctl start docker
systemctl enable docker
加速:
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://icaapr70.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
标签:get,sudo,etc,简易版,sh,docker,安装
From: https://www.cnblogs.com/hepengju/p/16793720.html