You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source /run/flannel/subnet.env
# docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel
Error response from daemon: invalid network config:
invalid subnet 10.5.31.1/24: it should be 10.5.31.0/24
Possible Solution
Steps to Reproduce (for bugs)
run etcd on public ip
run 1st flanneld -etcd-endpoints [public ip of etcd] and run docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel
run on 2nd host flanneld -etcd-endpoints [public ip of etcd] and run docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel <- this command now fails
Expected Behavior
Current Behavior
source /run/flannel/subnet.env
# docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel
Error response from daemon: invalid network config:
invalid subnet 10.5.31.1/24: it should be 10.5.31.0/24
Possible Solution
Steps to Reproduce (for bugs)
docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel
docker network create --attachable=true --subnet=${FLANNEL_SUBNET} -o "com.docker.network.driver.mtu"=${FLANNEL_MTU} flannel
<- this command now failsContext
https://github.com/flannel-io/flannel/blob/master/Documentation/running.md
Your Environment
The text was updated successfully, but these errors were encountered: