Unknown key 'automount.crossDistro' in /etc/wsl.conf:2

Hi,

I’ve made a fresh install of wsl2 (using ubuntu 24.4.2 LTS) and docker desktop and wanted integration. I used the documentation.

After a slight delay, docker desktop makes wsl crash completely, and i could only fetch this from the windows event viewer:

Unknown key 'automount.crossDistro' in /etc/wsl.conf:2

I need help on this because i cannot find anything on the matter that works.

1 Like

I am having the exact same issue. It was working fine 1 or 2 days ago. It seems WSL changed something but is kicking the issue back to docker.

I deleted that line in /etc/wsl.conf inside the docker-desktop wsl distro, but the engine still wont start.
Reverted back to docker desktop version 4.38, but still have the same error.
Don’t know what else to try.

I found an existing issue on GitHub

But if you want to report it to Docker, you can do it in this repo:

I’ve found this issue on github but im already up to date with ubuntu and still having the issue

thanks for the repo !

I can confirm that reverting WSL back to version 2.4.12 “fixes” this issue.

Reverting the Docker version does not solve it, so it was definitely a WSL change that broke something.

Download available from Releases · microsoft/WSL