-
Notifications
You must be signed in to change notification settings - Fork 824
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
WSL2 Kernel do not support nftables
and causing docker failed to start up in Ubuntu 20.10+
#6655
Comments
In the kernel config:
IPv4 is supported as shown here. I noticed Patrick identified using 5.8 instead seems to work. Use my kernel config with 5.8 kernel (or use a newer kernel) and you should be fine until MS decides to bump up to stable. I think they're sticking to LTS releases though. |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
wsl2 ubuntu 22.04, This worked for me
|
This saved the day! Thanks! :) |
Thanks a lot. wsl2 ubuntu 22.04 with Docker Desktop in Windows 10 Enterprise 21H2 here. |
It also works in Debian distro |
Thanks! Works for me too with Windows 11 Home 22H2, WSL version 2 with Ubuntu
|
This seems to be an old issue. dockerd works without those iptables commands in newer Linux distributions with WSL from Windows Store. |
@Biswa96 : can you please be more precise? I mean I'm using the following versions of "Debian" and can't get it running:
To be more precise the
But there seems to be no newer kernel version:
Michael |
From the output of |
@Biswa96: thanks, exactly that was the problem, now it is working! I was installing WSL2 and assuming that all distributions would then run wsl2 but as you said the Debian one was still running WLS1. I was not aware that it is possible to mix WSL2 and WSL1. The output of |
That command is not valid or at least it does not work the way you intended. The |
Whoever you are ,you saved my day,thanks |
Thanks a lot, docker is running! |
Environment
Steps to reproduce
sudo apt install docker.io
)dockerd
;Expected behavior
dockerd
should end up at the stateAPI listen on /var/run/docker.sock
Actual behavior
dockerd
throws the following error:Some related stuff
related article: https://patrickwu.space/2021/03/09/wsl-solution-to-native-docker-daemon-not-starting/
related bug report: https://bugs.launchpad.net/ubuntu-wsl-integration/+bug/1908539
The text was updated successfully, but these errors were encountered: