Closed bakerboy448 closed 2 years ago
The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup.
This is not a supported configuration. If a developer wants to run this app on WSL, they should very well know how to develop their way out of the bugs associated with such a system.
Related: https://github.com/giampaolo/psutil/issues/1251 https://github.com/shirou/gopsutil/pull/994
tl;dr: the host UUID changes after every reboot. This behavior appears to only exist in WSL.
This only affects Docker on WSL. Solution: Map /etc/machine-id
with a volume.
-v /etc/machine-id:/etc/machine-id
I removed the host ID from the uuid builder for wsl2 platforms.
For future users (if any)
Running the client on WSL2 results in a new client on restart - @austinwbest put a temp workaround in to ignore it.
Reported via Discord via @sadstan