<!-- ************************************************************************************ *READ ME FIRST* This repository is for reporting bugs with the Docker Desktop for Mac software, which we respond to on a best-effort basis. Support requests in this repository (i.e., trouble installing or using the software) will be ignored, but personalized support is available to Docker Pro and Team customers at https://hub.docker.com/support/desktop/, and community support is available from the Docker community Slack (https://www.docker.com/docker-community). Issues without a clear title, description, and diagnostics ID cannot be debugged, and will be closed. See https://docs.docker.com/docker-for-mac/troubleshoot/#diagnose-and-feedback for how to generate a diagnostics ID either from inside the app or from the command line. ************************************************************************************ --> <!-- Click these checkboxes after submitting, or place an "x" in them. --> - [ x] I have tried with the latest version of Docker Desktop - [ x] I have tried disabling enabled experimental features - [ x] I have uploaded Diagnostics - Diagnostics ID: 2051B26A-E0D7-4509-844F-4C4BE9D36149/20210408212242 ### Expected behavior `docker build --network foo .` should work ### Actual behavior `Error response from daemon: network mode "foo" not supported by buildkit` ### Information <!-- Please, help us understand the problem. For instance: - Is it reproducible? yes - Is the problem new? unknown - Did the problem appear with an update? worked in Desktop version 2.X - A reproducible case if this is a bug, Dockerfiles FTW. --> - macOS Version: 10.15.7 (19H524) - Docker Desktop Version: 3.2.2 (61853) ### Steps to reproduce the behavior <!-- A reproducible case, Dockerfiles FTW. --> 1. docker network create foo 2. docker run --network foo -d mysql 3. docker build --network foo -t bar .