Advertisement
hivefans

daemon.json

Jan 22nd, 2021
1,729
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.25 KB | None | 0 0
  1. //1.vim /etc/docker/daemon.json
  2. //2.输入下面的json
  3. {
  4.   "registry-mirrors": [
  5.     "https://hub-mirror.c.163.com",
  6.     "https://mirror.baidubce.com"
  7.   ]
  8. }
  9.  
  10. //3. 更新配置重启服务
  11. // systemctl daemon-reload
  12. // systemctl restart docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement