[root@localhost ~]# mkdir -p /etc/docker
[root@localhost ~]# tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://9cpn8tt6.mirror.aliyuncs.com"]
}
EOF
[root@localhost ~]# systemctl daemon-reload
[root@localhost ~]# systemctl restart docker
相关文章
- 12-10在docker下安装gitlab
- 12-10安装docker-ce报错——Error: Package:docker-ce-rootless-extras-20.10.3-3.el7.x86_64 (docker-ce-stable
- 12-10Docker安装完成后启动报错:Failed to start Docker Application Container Engine
- 12-10Docker自动补全容器名
- 12-10docker
- 12-10jenkins+git+docker构建持续化集成环境
- 12-10docker-gitlab-Cocoapods私有组件化
- 12-10Docker安装
- 12-10Docker 1.8 正式发布:可信镜像、Toolbox、Registry以及编排工具大更新
- 12-10windows下安装docker-toolbox并配置国内镜像加速