Skip to content

You need to create a swarm-scoped network before the stack is deployed #221

@teebu

Description

@teebu

After building and running deploy, I'm getting this error.

Error:

network "traefik-public" is declared as external, but could not be found. You need to create a swarm-scoped network before the stack is deployed

docker network ls

2e1b7e59a2e3        fast-api-test-proj_default          bridge              local
ce37fdaa9fcd        fast-api-test-proj_traefik-public   bridge              local

I assume this network name should be traefik-public and not prefixed with the project name, that was created automatically during some step?

Do I have to manually create the network?

docker network create --driver=overlay traefik-public

What are the proper steps to get a deploy?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions