help
  • Introduction
  • Alpine Linux 源使用帮助
  • Anaconda 源使用帮助
  • AOSC Linux 源使用帮助
  • Apache 源使用帮助
  • Arch Linux 源使用帮助
  • Arch Linux CN 源使用帮助
  • CentOS 源使用帮助
  • CocoaPods 源使用帮助
  • CPAN 源使用帮助
  • CRAN 源使用帮助
  • CTAN 源使用帮助
  • Cygwin 源使用帮助
  • Dart 加速源使用帮助
  • Deb Multimedia源使用帮助
  • Debian源使用帮助
  • Docker Hub 源使用帮助
  • Docker-CE 源使用帮助
  • epel 源使用帮助
  • Fedora 源使用帮助
  • Gentoo 源使用帮助
  • Homebrew 源使用帮助
  • Homebrew-bottles 源使用帮助
  • Homebrew-cask 源使用帮助
  • Homebrew-core 源使用帮助
  • Kali Linux 源使用帮助
  • Linux mint 源使用帮助
  • Manjaro Linux 源使用帮助
  • MariaDB 源使用帮助
  • Maven 源使用帮助
  • MongoDB 源使用帮助
  • Msys2 源使用帮助
  • Node 源使用帮助
  • openSUSE 源使用帮助
  • Repoforge 源使用帮助
  • PostgreSQL 源使用帮助
  • PPA 加速源使用帮助
  • Pritunl 源使用帮助
  • Pypi 源使用帮助
  • Raspbian 源使用帮助
  • Repoforge 源使用帮助
  • Ruby 源使用帮助
  • Rubygems 源使用帮助
  • saltstack 源使用帮助
  • Ubuntu 源使用帮助
  • Ubuntu-Ports 源使用帮助
  • Virutalbox 源使用帮助
  • Vscode 源使用帮助
  • Zabbix 源使用帮助
  • Zerotier 源使用帮助
Powered by GitBook
On this page
  • Linux
  • macOS
  • Windows
  • 相关链接

Was this helpful?

Docker Hub 源使用帮助

Linux

curl -sSL http://mirrors.shu.edu.cn/data/set_mirror.sh | sh -s http://docker.mirrors.shu.edu.cn
或
curl -sSL http://mirrors.shu.edu.cn/data/set_mirror.sh | sh -s http://docker.mirrors6.shu.edu.cn

该脚本可以将 --registry-mirror 加入到你的 Docker 配置文件 /etc/docker/daemon.json 中。适用于 Ubuntu14.04、Debian、CentOS6 、CentOS7、Fedora、Arch Linux、openSUSE Leap 42.1,其他版本可能有细微不同。

macOS

Docker For Mac

右键点击桌面顶栏的 docker 图标,选择 Preferences ,在 Daemon 标签(Docker 17.03 之前版本为 Advanced 标签)下的 Registry mirrors 列表中加入下面的镜像地址:

http://docker.mirrors.shu.edu.cn
或
http://docker.mirrors6.shu.edu.cn

点击 Apply & Restart 按钮使设置生效。

Windows

Docker For Windows

在桌面右下角状态栏中右键 docker 图标,修改在 Docker Daemon 标签页中的 json ,把下面的地址:

http://docker.mirrors.shu.edu.cn
或
http://docker.mirrors6.shu.edu.cn

加到 registry-mirrors 的数组里。点击 Apply 。

相关链接

PreviousDebian源使用帮助NextDocker-CE 源使用帮助

Last updated 4 years ago

Was this helpful?

官方主页:

https://hub.docker.com/