-
BYRIO x BUPT Network Center
-
author FrdericDT
-
date 2018/09/25
All the service currently are only available inside BUPT Campus Network Environment, VPN and WEBVPN are able to access the services.
the most fantastic part
https://docker-registry.mirrors.byrio.org
You can put the parameter --registry-mirror
when you boot dockerd
:
$ docker --registry-mirror=https://docker-registry.mirrors.byrio.org daemon
To remain the configuration permanently, you can edit /etc/docker/daemon.json
, add key "registry-mirrors"
{
"registry-mirrors": ["https://docker-registry.mirrors.byrio.org"]
}
then save the file and restart dockerd
https://mirrors.byrio.org/ubuntu
make a backup of the file /etc/apt.sourses.list
then change the url like the following part, for example the 18.04 LTS version
deb https://mirrors.byrio.org/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.byrio.org/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.byrio.org/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.byrio.org/ubuntu/ bionic-security main restricted universe multiverse