-
Notifications
You must be signed in to change notification settings - Fork 822
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
service docker start doesn't work if systemd is enabled #12307
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
@prescriptionlifeline Here's sample output on WSL Ubuntu 24.04:
|
In my case I was using Ubuntu 22.04 - not Ubuntu 24.04. I'll try it under Ubuntu 24.04 when I'm back in the office. Per the |
Windows Version
Microsoft Windows [Version 10.0.26100.2314]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.167.4-microsoft-standard-WSL2 (root@f9c826d3017f) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37) #1 SMP Tue Nov 5 00:21:55 UTC 2024
Distro Version
Ubuntu 22.04.3 LTS
Other Software
docker --version
(in WSL / Ubuntu) returns this:wsl --version
(in Windows) returns this:Repro Steps
service docker start
Expected Behavior
I'd expect
service docker start
to run without error.Actual Behavior
service docker start
gives this error:Diagnostic Logs
Here's the output of
systemctl status docker.service
:Here's the output of
journalctl -xeu docker.service
:https://pastebin.com/5u5vWS87
If I have this in my
/etc/wsl.conf
fileservice docker start
doesn't work:If I comment out the
systemd=true
bitservice docker start
works but not with that line in place.The text was updated successfully, but these errors were encountered: