ljtill / dotnet-bridge-sample

[WIP] Sample .NET Application with Bridge for Kubernetes
MIT License
1 stars 0 forks source link

Cluster creation fails at devcontainer #53

Open kpantos opened 3 days ago

kpantos commented 3 days ago

@ljtill trying to create a cluster using the kind create cluster command in a devcontainer I got the following error

@kpantos ➜ /workspaces/dotnet-bridge-sample (main) $ kind create cluster
Creating cluster "kind" ...
ERROR: failed to create cluster: failed to ensure docker network: command "docker network create -d=bridge -o com.docker.network.bridge.enable_ip_masquerade=true -o com.docker.network.driver.mtu=1500 --ipv6 --subnet fc00:f853:ccd:e793::/64 kind" failed with error: exit status 1
Command Output: Error response from daemon: Failed to Setup IP tables: Unable to enable NAT rule:  (iptables failed: ip6tables --wait -t nat -I POSTROUTING -s fc00:f853:ccd:e793::/64 ! -o br-677667d04f2b -j MASQUERADE: ip6tables v1.8.7 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
 (exit status 3))
ljtill commented 6 hours ago

@kpantos upstream issue with kind and the latest Docker release (https://github.com/kubernetes-sigs/kind/issues/3677)