Skip to content

docker network create --scope=swarm fails #39

@jimbothigpen

Description

@jimbothigpen

Any way to get this driver to create a network with --scope=swarm instead of local scope? My main motivation for testing this is to give a few docker containers static IP addresses via my local dhcp server, since it's impossible to assign an address to a container attached to a macvlan network in swarm mode. I'm able to create dhcp networks with this driver in local scope on each individual node in the swarm, but that won't allow me to attach any swarm services to that network. When I run:

docker network create --scope=swarm -d ghcr.io/devplayer0/docker-net-dhcp:release-linux-amd64 --ipam-driver null -o skip_routes=true -o lease_timeout=60s -o bridge=vmbr1 dhcp-net-vmmbr1

I get:

Error response from daemon: rpc error: code = InvalidArgument desc = error during lookup of plugin null

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