Skip to content

DOCKER_BUILDKIT=1 prevents custom networks using docker build --network #978

@jhrabi

Description

@jhrabi

Not sure if this is a Docker CLI or BuildKit issue, but when using BuildKit by specifying DOCKER_BUILDKIT=1 as part of a Docker Build in Docker v18.09, a custom Docker network is no longer recognized.

So for example, a command of "docker build --network demo-net ." will now return:

Error response from daemon: network mode "demo-net" not supported by buildkit

Seemingly this means that it only supports specific network modes are being supported, and not custom Docker networks.

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