Docker Community Forums

Share and learn in the Docker community.

Add Docker’s official GPG key from behind a coorporate firewall

(Kenneho) #1


I’m using the official docker installation instructions to install Docker on one of our internal Debian servers. The installation instructions show one way of installing the key:

curl -fsSL$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -

Our network admin ran “dig” yesterday, and punched a hole in the firewall for these IP addresses. Today I ran the same command, but got a different set of IP addresses. I’m guessing this has something to do with the Cloudfront service.

How can we go about ensuring that we cover the necessary IP addresses to allow the curl-command to run successfully?