Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster creation fails at devcontainer #53

Open
kpantos opened this issue Sep 20, 2024 · 1 comment
Open

Cluster creation fails at devcontainer #53

kpantos opened this issue Sep 20, 2024 · 1 comment

Comments

@kpantos
Copy link

kpantos commented Sep 20, 2024

@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
Copy link
Owner

ljtill commented Sep 23, 2024

@kpantos upstream issue with kind and the latest Docker release (kubernetes-sigs/kind#3677)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants