I am running Docker for Desktop v19.03.5, and I am building Docker image from alpine image .
SO I have created Dockerfile , and added my bit. During the docker build I have requirement to reach to our offices internal resources (like bitbucket, etc) and download those in the image and build the image.
But as I see during the build, the container takes IP address from default range 172.17.0.1/16 , and as this IP conflicts with our office IP range , docker build fails with error not able to reach those resources.
How do we set network range for docker build in Docker for desktop ?
In settings I do see Docker subnet is set to 192.168.65.0/28 , but not sure how during docker build it is picking IP from 172.17.XX.XX range ?