docker-net-dhcp
docker-net-dhcp copied to clipboard
"docker network create" requires exactly 1 argument. error.
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 <some ID> represents. Probably, its the ID generated at the very beginning (after the first command". Adding that ID also produce the same error.
To my understanding when it says <some network id>, this means the system returns a network id to you. So do the same command minus 1050 and it should work.