{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/7996","repository_url":"https://api.github.com/repos/mitchellh/vagrant","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7996/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7996/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7996/events","html_url":"https://github.com/mitchellh/vagrant/issues/7996","id":188798899,"number":7996,"title":"Keyservers for Docker constantly failing","user":{"login":"chingc","id":471856,"avatar_url":"https://avatars.githubusercontent.com/u/471856?v=3","gravatar_id":"","url":"https://api.github.com/users/chingc","html_url":"https://github.com/chingc","followers_url":"https://api.github.com/users/chingc/followers","following_url":"https://api.github.com/users/chingc/following{/other_user}","gists_url":"https://api.github.com/users/chingc/gists{/gist_id}","starred_url":"https://api.github.com/users/chingc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chingc/subscriptions","organizations_url":"https://api.github.com/users/chingc/orgs","repos_url":"https://api.github.com/users/chingc/repos","events_url":"https://api.github.com/users/chingc/events{/privacy}","received_events_url":"https://api.github.com/users/chingc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-11T16:35:01Z","updated_at":"2016-11-17T19:42:52Z","closed_at":null,"body":"Hi, I'm running Vagrant `1.8.7` on `10.11.6 El Capitan` and the docker provisioner fails repeatedly when it tries to download the key needed for installation.  I've experienced this even when attempting to install docker manually, so this isn't really a problem with Vagrant.  I was wondering if you can include the key with Vagrant so it doesn't have to download it from what appears to be extremely unreliable sources.\r\n\r\n_Eventually_ it will work if I keep trying, but today I've been trying for the past 30 minutes and still I get this error.  It has been frustrating.\r\n\r\nI know this isn't a problem with my network connection because my other Vagrantfiles (that don't try to install docker) are downloading and installing packages just fine.\r\n\r\n\r\n### Vagrantfile\r\n```ruby\r\n# -*- mode: ruby -*-\r\n# vi: set ft=ruby :\r\n\r\n  Vagrant.configure(\"2\") do |config|\r\n\r\n  config.vm.box = \"debian/jessie64\"\r\n  config.vm.box_version = \"~> 8.6.1\"\r\n  config.vm.provision \"docker\"\r\n\r\nend\r\n```\r\n\r\n### Error\r\n```\r\nThe following SSH command responded with a non-zero exit status.\r\nVagrant assumes that this means the command failed!\r\n\r\ncurl -sSL https://get.docker.com/ | sh\r\n\r\nStdout from the command:\r\n\r\nExecuting: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.unkAJ5I1RQ --no-auto-check-trustdb --trust-model always --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\n?: ha.pool.sks-keyservers.net: Host not found\r\ngpgkeys: HTTP fetch error 7: couldn't connect: Success\r\nExecuting: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.VZyZN0Zhfz --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\n?: [fd 4]: read error: Connection reset by peer\r\ngpgkeys: key 58118E89F3A912897C070ADBF76221572C52609D can't be retrieved\r\nExecuting: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.ShABLMVIBN --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\n?: [fd 4]: read error: Connection reset by peer\r\ngpgkeys: key 58118E89F3A912897C070ADBF76221572C52609D partially retrieved (probably corrupt)\r\n\r\n\r\nStderr from the command:\r\n\r\nstdin: is not a tty\r\n+ sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\ngpg: requesting key 2C52609D from hkp server ha.pool.sks-keyservers.net\r\ngpg: no valid OpenPGP data found.\r\ngpg: Total number processed: 0\r\n+ sh -c apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\ngpg: requesting key 2C52609D from hkp server pgp.mit.edu\r\ngpg: no valid OpenPGP data found.\r\ngpg: Total number processed: 0\r\n+ sh -c apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\r\ngpg: requesting key 2C52609D from hkp server keyserver.ubuntu.com\r\ngpg: no valid OpenPGP data found.\r\ngpg: key 2C52609D: no valid user IDs\r\ngpg: this may be caused by a missing self-signature\r\ngpg: Total number processed: 1\r\ngpg:           w/o user IDs: 1\r\n+ sh -c apt-key adv -k 58118E89F3A912897C070ADBF76221572C52609D >/dev/null\r\n```"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/261348164","html_url":"https://github.com/mitchellh/vagrant/issues/7996#issuecomment-261348164","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7996","id":261348164,"user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T19:42:52Z","updated_at":"2016-11-17T19:42:52Z","body":"@chingc - Over on Drupal VM's issue queue, we've found downgrading to 5.1.6 is the current best fix for this issue :( https://www.virtualbox.org/wiki/Download_Old_Builds_5_1"}}
{"actor":{"display_login":"geerlingguy"}}