Skip to content

docker buildkit no longer supports --network as valid parameter #591

@lmtyler

Description

@lmtyler
  • [ 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

  • macOS Version: 10.15.7 (19H524)
  • Docker Desktop Version: 3.2.2 (61853)

Steps to reproduce the behavior

  1. docker network create foo
  2. docker run --network foo -d mysql
  3. docker build --network foo -t bar .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions