Skip to content

mimani68/registry-mirror

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker registry

License

Features

  • Simple, Small, Secure docker registery
  • Proxy docker, gcr, quay, k8s
  • Use secure transportation by helping HTTPS
  • Memeory usage < 35mb and very small computation resource

Installations

Clone Source:

$ git clone https://github.com/mimani68/registry-mirror.git

and start it up:

$ docker-compose up

It's done.

Client setup

Modify or create the file /etc/docker/daemon.json and add the local mirror setting pointing to your server on port 5000:

{
  "registry-mirrors": ["https://hub.dckr.ir"]
}

Then restart docker daemon:

$ service docker stop
$ service docker sart

and finally you can download files using below command.

$ docker pull apline:latest