title: Openshift : Failing to push and pull images to local Image repository (172.30.1.1:5000) : NO_PROXY/noProxy/no-proxy not honoured
body: <p>Can anyone throw some light to resolve making NO_PROXY work for local image registry on MAC? - Tried all options/workaround that have come across various forums/threads, but none seems to work.</p>
  
  <p><strong>Issue:</strong> </p>
  
  <p><strong>Pushing</strong>
  Pushing image 172.30.1.1:5000/oc-prj001/s2i-spring-boot-app-thin:latest ..
  Registry server Address: 
  Registry server User Name: serviceaccount
  Registry server Email: serviceaccount@example.org
  Registry server Password: &lt;>
  error: build error: Failed to push image: Get <a href="http://172.30.1.1:5000/v2/" rel="nofollow noreferrer">http://172.30.1.1:5000/v2/</a>:  net/http: request canceled (Client.Timeout exceeded while awaiting headers)</p>
  
  <p><strong>Pulling</strong>
  Failed to pull image "172.30.1.1:5000/oc-prj001/s2i-spring-boot-app-thin": rpc error: code = Unknown desc = Error response from daemon: Get <a href="http://172.30.1.1:5000/v2/" rel="nofollow noreferrer">http://172.30.1.1:5000/v2/</a>: net/http: request canceled (Client.Timeout exceeded while awaiting headers)</p>
  
  <p><strong>oc cluster up :</strong>. [warnings of possible issue]</p>
  
  <p>WARNING: An HTTP proxy (gateway.docker.internal:3128) is configured for the Docker daemon, but you did not specify one for cluster up
  WARNING: An HTTPS proxy (gateway.docker.internal:3129) is configured for the Docker daemon, but you did not specify one for cluster up
  WARNING: A proxy is configured for Docker, however 172.30.1.1 is not included in its NO_PROXY list.
     172.30.1.1 needs to be included in the Docker daemon's NO_PROXY environment variable so pushes to the local OpenShift registry can succeed</p>
  
  <p><strong>Desktop : macOS Catalina (10.15.4)
  Docker Desktop for MAC: 2.2.0.5
  Openshift origin : 3.11</strong></p>