上海快三计划数据—官方网址22270.COM鈥擠ocke 闀滃儚鍔犻

鍥藉唴浠 DockerHub 鎷夊彇闀滃儚鏈夋椂浼氶亣鍒板洶闅撅紝姝ゆ椂鍙互閰嶇疆闀滃儚鍔犻熷櫒銆侱ocker 瀹樻柟鍜屽浗鍐呭緢澶氫簯鏈嶅姟鍟嗛兘鎻愪緵浜嗗浗鍐呭姞閫熷櫒鏈嶅姟锛屼緥濡傦細

  • Docker瀹樻柟鎻愪緵鐨勪腑鍥介暅鍍忓簱锛http://registry.docker-cn.com
  • 涓冪墰浜戝姞閫熷櫒锛http://reg-mirror.qiniu.com

上海快三计划数据—官方网址22270.COM褰撻厤缃煇涓涓姞閫熷櫒鍦板潃涔嬪悗锛岃嫢鍙戠幇鎷夊彇涓嶅埌闀滃儚锛岃鍒囨崲鍒板彟涓涓姞閫熷櫒鍦板潃銆傚浗鍐呭悇澶т簯鏈嶅姟鍟嗗潎鎻愪緵浜 Docker 闀滃儚鍔犻熸湇鍔★紝寤鸿鏍规嵁杩愯 Docker 鐨勪簯骞冲彴閫夋嫨瀵瑰簲鐨勯暅鍍忓姞閫熸湇鍔°

鎴戜滑浠 Docker 瀹樻柟鍔犻熷櫒 http://registry.docker-cn.com 涓轰緥杩涜浠嬬粛銆

Ubuntu14.04銆丏ebian7Wheezy

瀵逛簬浣跨敤 upstart 鐨勭郴缁熻岃█锛岀紪杈 /etc/default/docker 鏂囦欢锛屽湪鍏朵腑鐨 DOCKER_OPTS 涓厤缃姞閫熷櫒鍦板潃锛

DOCKER_OPTS="--registry-mirror=http://registry.docker-cn.com"

閲嶆柊鍚姩鏈嶅姟:

$ sudo service docker restart

Ubuntu16.04+銆丏ebian8+銆丆entOS7

瀵逛簬浣跨敤 systemd 鐨勭郴缁燂紝璇峰湪 /etc/docker/daemon.json 涓啓鍏ュ涓嬪唴瀹癸紙濡傛灉鏂囦欢涓嶅瓨鍦ㄨ鏂板缓璇ユ枃浠讹級锛

{"registry-mirrors":["http://registry.docker-cn.com"]}

涔嬪悗閲嶆柊鍚姩鏈嶅姟锛

$ sudo systemctl daemon-reload
$ sudo systemctl restart docker

Windows 10

上海快三计划数据—官方网址22270.COM瀵逛簬浣跨敤 Windows 10 鐨勭郴缁燂紝鍦ㄧ郴缁熷彸涓嬭鎵樼洏 Docker 鍥炬爣鍐呭彸閿檿瑗垮揩涓夊嶆姇鎶宸 鈥旈椤-鍗曢夋嫨 Settings锛屾墦寮閰嶇疆绐楀彛鍚庡乏渚у鑸檿瑗垮揩涓夊嶆姇鎶宸 鈥旈椤-鍗曢夋嫨 Daemon銆傚湪 Registrymirrors 涓鏍忎腑濉啓鍔犻熷櫒鍦板潃 http://registry.docker-cn.com 锛屼箣鍚庣偣鍑 Apply 淇濆瓨鍚 Docker 灏变細閲嶅惎骞跺簲鐢ㄩ厤缃殑闀滃儚鍦板潃浜嗐

Mac OS X

瀵逛簬浣跨敤 Mac OS X 鐨勭敤鎴凤紝鍦ㄤ换鍔℃爮鐐瑰嚮 Docker for mac 搴旂敤鍥炬爣-> Perferences...-> Daemon-> Registrymirrors銆傚湪鍒楄〃涓~鍐欏姞閫熷櫒鍦板潃 http://registry.docker-cn.com 銆備慨鏀瑰畬鎴愪箣鍚庯紝鐐瑰嚮 Apply&Restart 鎸夐挳锛孌ocker 灏变細閲嶅惎骞跺簲鐢ㄩ厤缃殑闀滃儚鍦板潃浜嗐

妫鏌ュ姞閫熷櫒鏄惁鐢熸晥

妫鏌ュ姞閫熷櫒鏄惁鐢熸晥閰嶇疆鍔犻熷櫒涔嬪悗锛屽鏋滄媺鍙栭暅鍍忎粛鐒跺崄鍒嗙紦鎱紝璇锋墜鍔ㄦ鏌ュ姞閫熷櫒閰嶇疆鏄惁鐢熸晥锛屽湪鍛戒护琛屾墽琛 docker info上海快三计划数据—官方网址22270.COM锛屽鏋滀粠缁撴灉涓湅鍒颁簡濡備笅鍐呭锛岃鏄庨厤缃垚鍔熴

$ docker info
Registry Mirrors:
    http://registry.docker-cn.com/