Docker Community Forums

Share and learn in the Docker community.

Max retransmits reached for connection


(Sc7639) #1

Expected behavior

When I’m trying to build add-cors-couchb service using docker-compose I’m expecting the Dockerfile to build successfully

Actual behavior

When trying to build the service the output is: “Service ‘add-cors-couchdb’ failed to build: The command ‘/bin/sh -c npm install -g add-cors-to-couchdb’ returned a non-zero code: 1”

While running:

npm install -g add-cors-to-couchdb

it fetches quite a few tgz’s successfully but fails when it gets to “https://registry.npmjs.org/once/-/once-1.3.3.tgz

Information

Logfile:

Steps to reproduce the behavior

Use the below to create a Dockerfile and try to build the Dockerfile