1

I'm attempting to deploy my application using docker on a corporate AWS instance that sits behind a http proxy. I have installed docker and whitelisted the base image pull address.

However when I try to build my image from my docker file it fails because the pulls made in the base image are all blocked by proxy.

Is there any way to get a list of the http calls being made when a docker image is being built? That way I could whitelist all the dependencies.

Or is there another approach I'm not thinking of here?

Collin Estes
  • 111
  • 1
  • 4
  • 1
    Why not just talk with the proxy admins? They can examine their logs to see what was getting blocked and then you can work with them to get those URLs whitelisted. – EEAA Jul 13 '15 at 18:52
  • Short of doing that, just perform a packet capture on the server to capture all of docker's requests. – EEAA Jul 13 '15 at 18:56
  • Yeah it is an external entity (our admins) so it makes it tough to get anything done. – Collin Estes Jul 13 '15 at 18:56
  • 3
    Well they are the people who are most likely to be able to help you with this. – EEAA Jul 13 '15 at 18:57
  • That's reverting the problem @EEAA and it's obviously NOT the right approach. The fact is that a given list of IP at a given time is subject to change. Unfortunately, for now it's near impossible to make docker work behind a white-list-based firewall, which sucks ! – Orabîg Aug 31 '17 at 09:45

0 Answers0