Skip to content

"docker network create" requires exactly 1 argument. error. #25

@sohojmanush

Description

@sohojmanush

Fresh os & docker installation on RPI . My executed commands are:

docker plugin install ghcr.io/devplayer0/docker-net-dhcp:latest-linux-arm-v7
sudo ip link add my-bridge type bridge
sudo ip link set my-bridge up
sudo ip link set eth0 up
sudo ip link set eth0 master my-bridge
sudo iptables -A FORWARD -i docker-bridge -j ACCEPT
sudo dhcpcd docker-bridge

On the first try after this point ssh connection got disconnected. "disconnect: Broken pipe". I have to power cycle my RPI.
Also, not sure is this applicable on raspbian:
sudo iptables -A FORWARD -i docker-bridge -j ACCEPT

On the second try after entering

docker network create -d ghcr.io/devplayer0/docker-net-dhcp:latest-linux-arm-v7 --ipam-driver null -o bridge=my-bridge docker-dhcp-net 1050

yields "docker network create" requires exactly 1 argument.
See 'docker network create --help'.

Also, it will be nice to clarify what does represents. Probably, its the ID generated at the very beginning (after the first command". Adding that ID also produce the same error.

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