Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //1.vim /etc/docker/daemon.json
- //2.输入下面的json
- {
- "registry-mirrors": [
- "https://hub-mirror.c.163.com",
- "https://mirror.baidubce.com"
- ]
- }
- //3. 更新配置重启服务
- // systemctl daemon-reload
- // systemctl restart docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement