docker 修改仓库(2)
- 2019 年 10 月 6 日
- 筆記
两种方式:
1、 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361db2.m.daocloud.io
2、 vi /etc/docker/daemon.json { "registry-mirrors": ["https://registry.docker-cn.com"] }
service docker restart