Skip to content

Instantly share code, notes, and snippets.

@aliva
Created May 12, 2019 11:59
Show Gist options
  • Save aliva/06cb2e0d7a2a5990d4d682dab57fb302 to your computer and use it in GitHub Desktop.
Save aliva/06cb2e0d7a2a5990d4d682dab57fb302 to your computer and use it in GitHub Desktop.
docker daemon.json - registry mirrors which work in iran
{
"registry-mirrors": ["https://registry.docker-cn.com", "http://repo.docker.ir:5000"]
}
@AmmarRajab
Copy link

Thanks for your reply very appreciated. I managed finally to get it working by using combination of VPN and port forwarding as in the following article:
https://nikhilwanpal.in/blog/using-docker-and-a-private-registry-with-vpn-on-windows/

Mentioned this for future reference and it might be useful for other people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment