Skip to content

Report-service build error in Jenkins while creating Docker image #707

Closed Answered by santhosh-tg
vinukumar-vs asked this question in Bugs
Discussion options

You must be logged in to vote

@vinukumar-vs The build happens inside docker container.
#9 523.0 npm ERR! request to https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org A complete log of this run can be found in:

From this error its not able to resolve this domain name. We already have the file /etc/docker/daemon.json for dns resolutions. So, this is probably a DNS cache issue.

Restarting the docker daemon helped to fix this.
sudo systemctl restart docker.service

Cc: @gandham-santhosh

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@santhosh-tg
Comment options

Answer selected by vinukumar-vs
@vinukumar-vs
Comment options

@santhosh-tg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants