TL;DR: Most important thing is to find out if your proxy mangles/removes headers. If yes, then you need to contact your IT department.

I've got the following error:

Get https://registry-1.docker.io/v2: net/http:

request canceled while waiting for connection
(Client.Timeout exceeded while awaiting headers)

Prerequisites

In order to get Concourse CI working, you need to :

  1. Install VirtualBox and

  2. Install Vagrant in a directory without spaces (ruby bug)

Now, you need to install the proxy plugin for Vagrant:

vagrant plugin install vagrant-proxyconf

Then, initalise the install

vagrant init concourse/lite

Proxy configurations

The vagrant proxy will allow you to add the proxy settings to the Vagrant file:

Vagrant.configure(2) do |config|
  # ...

  config.proxy.http     = "http://user:password@proxy:port"
  config.proxy.https    = "http://user:password@proxy:port"
  config.proxy.no_proxy = "localhost,127.0.0.1"

Once you launch the VM with vagrant up, the VM will have the proxy configured (e.g. in /etc) and you can use it.

Normally, Docker will use those settings. However, Docker uses HTTPS for repo queries and if your proxy messes with the headers it won't work. This happens because the go-to repository for garden-linux is https://registry-1.docker.io/v2.

References

I'm not yet given up on the task. I'll try a few more ideas, so stay tuned. Until then, your IT is your friend :)

HTH,