Welcome to the Linux Foundation Forum!

Pushing a docker app

WIth using pcfdev on a Windows 10 system when I try to get the docker image to work using these commands:

  1. cf push worker -o engineerbetter/worker-image --no-route --no-start
  2. cf bind-service worker rest-backend
  3. cf start worker or cf rg worker

I'm presented with the following error messages:

  • Failed to talk to docker registry: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  • Failed to talk to docker registry: Get http://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  • Staging process failed: Exit trace for group:

    builder exited with error: failed to fetch metadata from [engineerbetter/worker-image] with tag [latest] and insecure registries [] due to Get http://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Is this something that I can fix or is this beyond my control? If I can fix this then do you have any hints?

Comments

  • I was able to try this command on a different system (Ubuntu 17.10) and it worked. This means that the problem has something to so with my Windows 10 Pro setup. At least now I know which part of the equation is not working correctly.

Categories

Upcoming Training