Skip to content

Only create the default network if it's necessary #2275

Closed

Description

@dnephin

Our docs (https://github.com/docker/compose/blob/master/docs/networking.md#custom-container-network-modes) claim that we only create the network if it's going to be used, but currently we always create the network when --x-networking is set.

We should only be creating it if at least one container uses the default network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions