CentOS安装Docker
yum安装Docker
yum install docker -y
启动Docker
systemctl start docker
配置Docker加速器
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://45ucv2hi.mirror.aliyuncs.com"]
}
sudo systemctl daemon-reload sudo systemctl restart docker
blog:container:docker_install
yum install docker -y
systemctl start docker
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://45ucv2hi.mirror.aliyuncs.com"]
}
sudo systemctl daemon-reload sudo systemctl restart docker