Skip to content

docker-compose create should create network in default v2 setup #2908

@clkao

Description

@clkao

with v2 services are default to use project-scoped network, however the _default network isn't created during docker-compose create, at least for the first time the project is run with.

This simple docker-compose.yml fails with docker-compose create:

version: '2.0'
services:
  foo:
    image: nginx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions