-
Notifications
You must be signed in to change notification settings - Fork 823
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
Docker CE no longer works with WSL 2.0.0 and autoMemoryReclaim=gradual
#10497
Comments
Yes this is a known issue! We are working with the Docker team to get a fix for this. |
Thanks for the heads up! BTW sorry, I made a mistake in the reproduction steps (I said keep the |
I believe I have a fix for this issue, we should be pushing a 2.0.1 here in the next couple of days. |
@felipecrs when you enable the |
Makes sense, but I did some things like: $ cat > /etc/docker/daemon.json <<EOF
{
"exec-opts": ["native.cgroupdriver=systemd"]
}
EOF To make docker use cgroups v2, and it didn't work out well. Maybe I did something wrong though. |
Please note that I'm not using Docker Desktop. |
Saw on #10499, just tested, |
autoMemoryReclaim
autoMemoryReclaim=gradual
I can confirm it was fixed indeed. Thank you! |
Note that although you may think that you've updated WSL with |
I had noticed the failure when updating as well, and that's why I update through the Microsoft Store. I will double check the version though. |
Yes, confirmed: ❯ wsl --version
WSL version: 2.0.1.0
Kernel version: 5.15.123.1-1
WSLg version: 1.0.58
MSRDC version: 1.2.4485
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25880.1000-230602-1350.main
Windows version: 10.0.22631.2338 |
wsl version 2.0.7.0 and .wslconfig with:
Docker Desktop cannot start, it hangs forever |
I have the same issue with both
|
Windows Version
Microsoft Windows [Version 10.0.22631.2338]
WSL Version
2.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.123.1-1
Distro Version
Ubuntu 22.04
Other Software
Docker version 24.0.6, installed following https://docs.docker.com/engine/install/ubuntu/.
Repro Steps
wsl.conf
docker version
autoMemoryReclaim=gradual
to.wslconfig
's[experimental]
docker version
times outExpected Behavior
Docker to work just like before.
Actual Behavior
Docker daemon does not start.
Diagnostic Logs
Docker daemon logs:
The text was updated successfully, but these errors were encountered: