Skip to content

nomirror/nomirror.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ nomirror

🌰 Sponsered by fandogh - πŸ’› Maitained by pi0

Docker APT repository

Add apt repository:

sudo add-apt-repository "deb [arch=amd64] https://docker-download.nomirror.ml/linux/ubuntu/ $(lsb_release -cs) stable"

Install gpg key:

curl -fsSL https://docker-download.nomirror.ml/linux/ubuntu/gpg | sudo apt-key add -

JCenter

--jcenter()
++jcenter { url "https://jcenter.nomirror.ml" }

Docker Proxy

Supports Docker centeral registry and Google container registry.

For ubuntu >= 16.04 (with systemctl)

Create conf directory:

mkdir /etc/systemd/system/docker.service.d

Create /etc/systemd/system/docker.service.d/proxy.conf:

[Service]
Environment="HTTP_PROXY=http://proxy.nomirror.ml:60606"
Environment="HTTPS_PROXY=http://proxy.nomirror.ml:60606"
Environment="NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com"

Reload docker:

systemctl daemon-reload
systemctl restart docker

For ubuntu 14.0.4

Append this lines to /etc/default/docker:

export HTTP_PROXY=http://proxy.nomirror.ml:60606
export HTTPS_PROXY=http://proxy.nomirror.ml:60606
export NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com

Reload service:

sudo service docker restart

About

πŸš€ nomirror - a mirror service that works!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published