How to perform a clean shutdown of WSL? #11225
Unanswered
bimmerdriver
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've seen many questions about how to perform a clean shutdown of WSL. The answers have been all over the place, particularly answers pertaining to older versions.
My question pertains to the most recent version of WSL (2.0.14.0) / Ubuntu (22.04), as of version 2.0.14.0. In case it matters, I'm using WSL on Windows 10 (22H2).
Now that WSL / Ubuntu supports systemd, does the shutdown command work?
Is it still necessary to perform wsl --shutdown from within Windows?
Does wsl --shutdown perform a clean shutdown?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions