I’ve setup Docker before with Rancher when we didn’t have a proxy and things were pretty smooth. However we now have a proxy and it’s making my life much harder. Currently I have 4 nodes, 3 for docker/kubernetes and 1 for the load balancer. Right now I’m trying to install the load balancer nginx, but I keep running into issues. I’ve googled around trying to find fixes for where to put the proxy, but it seems I don’t have certain paths, like /etc/systemd/docker or other ones that might help. I basically get this error:
docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /etc/nginx.conf:/etc/nginx/nginx.conf nginx:1.15
Unable to find image ‘nginx:1.15’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
So I don’t know what to do here. I have a presentation I’d like to give next Monday and this is stopping me from being able to do so. I’m using Docker 17.03.2, but if a newer version fixes what ails me then that’s fine as well.