Dockerfile does not pull from Nexus

  dockerfile, nexus

I have configured daemon.json, so I can pull images in my local machine.
The configuration works fine and I can pull the images.
When I build an image, "From " works fine, because I have already pulled manually on my local machine. Now when I remove the image from my local images, Dockerfile fails to connect to Nexus ("Connection refused").

Is there anything that I have to configured other than daemon.json, so docker file can pull the image directly from the Nexus Repository?

Source: Dockerfile Questions

LEAVE A COMMENT