I would like to know the IP address of dockerhub to add them on my whitelist. I didn't find any kind of documentation providing this like the github one. But maybe I'm blind ?
Thank you
You can do curl -v https://index.docker.io:443 to get the ip-address. Currently, the ip address is 52.5.
Click “Plugins,” then “ConfigServer Security & Firewall.” Scroll down to the “ConfigServer Firewall” section where the options for managing IP addresses are located. Look for the “Quick Allow” option (it should be a green box). Enter the IP you wish to whitelist, then click the “Quick Allow” button.
You can do curl -v https://index.docker.io:443
to get the ip-address.
Currently, the ip address is 52.5.199.233
, however this might change over time. If it change, do the curl again and replace the ip-address.
Update:
Now, Docker Hub doesn't have static IP that can be whitelist. Docker Hub is based on Amazon ELB, so they can change any time.
So whitelisting Docker Hub based on IP is not a good solution. If you still need to do it anyway, this post might help: https://serverfault.com/questions/665191/whitelist-elastic-load-balancer-based-on-ip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With