Docker build doesn't take network range specified in docker for desktop settings

Hello ,

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 , 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 , but not sure how during docker build it is picking IP from 172.17.XX.XX range ?


Anyone hit this before ? Any suggestions?