Skip to content

Need to define explicit network name in docker-compose*.yml files #2

@espoelstra

Description

@espoelstra

If you don't define the network name(s) explicitly it fails to start due to an ambiguous resolution of the "default" network name.

I worked around this by using docker network create $(basename $(pwd)) in the runall.sh and then adding a networks block in the compose files marking that name as the default network and external aka docker-compose won't attempt to create or destroy it automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions