NPM install fails inside Docker container but runs on host w/ corporate proxy NPM install fails inside Docker container but runs on host w/ corporate proxy docker docker

NPM install fails inside Docker container but runs on host w/ corporate proxy


It was DNS related found my solution here:

Docker - Network calls fail during image build on corporate network

TLDR; gotta config the DOCKER_OPTS with my DNS IP.