WSL Container Won’t Start on Windows
A WSL container that won’t start is usually blocked by WSL itself, Docker or another container layer on Windows, or the specific distro/container state. Start with the safest fix: restart the container app and WSL, then check the Windows features, WSL version, and virtualization settings that container startup depends on. If it still fails, use the error text, logs, and `wsl` commands to pin down which layer is broken before you change anything more disruptive.
What the failure looks like when a WSL container won’t start
The failure usually shows up in one of a few ways. You may click Start and get nothing at all, see a spinner that times out, or get an error dialog from Docker Desktop, WSL, or your terminal.
- The distro opens and closes immediately.
- Docker says the container exited or failed to start.
- `wsl` returns an error instead of listing or launching the distro.
- A terminal hangs while trying to attach to the container.
- The app says the WSL 2 backend is unavailable.If the app itself opens but the container does not, that points more toward Docker or the distro. If wsl.exe commands fail too, the problem is likely lower down in WSL or Windows virtualization support. If only one image or one distro fails, the issue is probably specific to that container or Linux environment.
Is this a WSL problem, Docker problem, or distro problem?
Before you change settings, narrow the failure to the layer that is actually broken. Start by checking whether WSL itself responds, then see whether Docker or your container app can talk to it, and only after that inspect the specific distro or image.
Use these quick checks from PowerShell:
wsl -l -v
wsl --statusIf wsl -l -v lists distros and shows version 2 for the one you use, WSL is at least partly working. If wsl --status fails or says WSL 2 is unavailable, focus on Windows features and the WSL install first.
Next, if you use Docker Desktop, open it and check whether it reports that the WSL 2 backend is running. If Docker fails but wsl works, the problem is usually in Docker’s WSL integration, not the whole subsystem.
Finally, try a different distro or a known-good container. If one distro works and another does not, the broken piece is probably the distro state, startup command, or that specific image.
Before you start
This applies to Windows 10 and Windows 11 systems that run WSL 2 and a container tool such as Docker Desktop. Most of the checks below need PowerShell; the feature changes require an elevated PowerShell window, and some distro checks do not need Administrator rights.
You do not need to back up anything just to run the first checks, but back up Linux files, keys, and local data before you reset or remove a distro. A restart is part of the normal recovery path, so save your work before you begin.
Start with these safe checks:
wsl -l -vwsl --status- Open Docker Desktop, if you use it, and see whether the WSL 2 backend reports as running
If those already fail, the problem is usually below the container itself and you should work upward from WSL and Windows features rather than rebuilding the image first.
Restart the right pieces first
- Close and reopen the container app you use.
If you use Docker Desktop, quit it fully and start it again. If you use another container tool, restart that app or its Windows service first. For Docker Desktop, the WSL backend often recovers after a clean restart.
- Reset WSL from PowerShell.
wsl --shutdownThat command stops all running WSL distros and the utility VM. After it finishes, start the container again. If the container launches now, the problem was probably a stuck WSL session.
- Restart Windows if the problem is still there.
A full reboot clears a lot of startup issues tied to virtualization, pending updates, or services that did not restart cleanly. If a restart fixes the problem once but it returns later, something is leaving WSL or Docker in a bad state, such as a failed update, low memory, or a distro that does not shut down cleanly.
Check the Windows features WSL containers depend on
WSL containers need the right Windows features turned on. If one is missing, the container may never start, even if the app looks fine.
Check these items:
- Windows Subsystem for Linux
- Virtual Machine Platform
- Hardware virtualization in firmware/BIOS
On Windows, you can inspect the optional features from an elevated PowerShell window and enable them if needed:
dism /online /get-features /format:table | findstr /i "Subsystem VirtualMachinePlatform"If a feature is disabled, enable it:
dism /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartAfter that, restart Windows.
If virtualization is turned off in firmware, Windows features alone are not enough. On many systems you can verify this in Task Manager under the Performance tab, where CPU details often show whether virtualization is enabled.
If these features were already on, move on. If enabling them changes nothing, the problem is probably an outdated WSL install, a stuck distro, or a runtime issue above WSL.
Update WSL and the Linux kernel
An old WSL install or kernel can block startup, especially after Windows updates or Docker updates. Updating WSL is safe and reversible, so it is a good next step.
Run this from an elevated PowerShell window:
wsl --update
wsl --shutdownThen restart Windows and try the container again.
If wsl --update reports a problem, that itself is useful. It usually means Windows cannot reach the update source, the WSL package is already broken, or the WSL feature set on that machine is incomplete. In that case, check Windows Update, the Microsoft Store if your setup uses it, and whether your machine is blocked by policy or network restrictions.
After the update, confirm the version and status:
wsl --version
wsl --statusIf the version command is unavailable on your machine, that usually means you are on an older WSL build and should rely on wsl --update, wsl --shutdown, and the Windows feature checks above.
What to do when the distro itself is stuck
If WSL is installed and Docker can see it, but one distro will not start, treat the distro as the problem. A frozen distro often clears with a shutdown and relaunch.
- Stop all WSL sessions.
wsl --shutdown- Start only the distro you need.
wsl -d <DistroName>Replace <DistroName> with the name from wsl -l -v.
If the distro starts normally, relaunch your container after that. If it still fails, check whether that distro has become the default startup target for Docker or another app and whether the startup command inside it is failing.
Avoid unregistering or reinstalling the distro as a first response. That can remove local Linux files and container state if you have not backed them up.
If the distro starts but your container does not, the problem is likely inside the container image, mount points, entrypoint, or environment variables rather than WSL itself.
How to verify the container starts cleanly
Once you change something, confirm the fix with a clean start rather than assuming the problem is gone. You want to see the container come up from a stopped state without manual repair steps.
- Shut down WSL.
wsl --shutdown- Start WSL or Docker again.
- Launch a known-good container or your usual container.
- Check status in the tool you use.
For Docker, docker ps should show the container if it is running:
docker psFor WSL directly, wsl -l -v should show the distro in a running or stopped state without errors:
wsl -l -vIf the container starts once but fails again after a reboot, the fix was partial. That usually means you still have a startup dependency problem, not a one-time glitch.
What to check when it still fails
If restart, feature checks, and updates did not help, the remaining causes are usually narrower and more specific.
Check these next:
- A corrupted container image
- A bad entrypoint or startup command
- Missing environment variables or mount paths
- Low memory or disk space on the Windows side
- Conflicts from antivirus, endpoint protection, or other security tools
- Docker Desktop integration pointing at the wrong WSL distro
A corrupted image often shows up when one container fails but others work. A bad startup command usually fails the same way every time, even after reboot. Memory pressure can make WSL look broken when it is really being starved by other apps.
If security software is involved, look for blocks in its quarantine or event logs. Some tools interfere with the WSL VM, Docker engine files, or network access for containers. If the container starts after disabling such software temporarily, you have found the source and can narrow the exception carefully.
When you are comparing logs, check Docker Desktop logs, Windows Event Viewer, and the output of wsl -l -v and wsl --status. The exact message varies, but the first real error usually points to the broken layer.
When to rebuild, reset, or reinstall
Use repair options only after you have tried the safer steps above and you know which layer is broken. The cost rises fast here, especially if you keep important Linux files or container data inside the distro.
Your last-resort options are usually:
- Rebuild the container image if the image or app layer is broken.
- Reset Docker Desktop settings if Docker’s WSL integration is misconfigured.
- Reinstall or replace the distro if the distro filesystem is damaged.
- Reinstall WSL or Windows components if the subsystem itself is damaged.
Back up anything you need before removing a distro or wiping Docker data. Local databases, source trees, SSH keys, and app state can live inside WSL and disappear with a reset.
If you are not sure which reset to choose, back up first and repair the smallest thing that matches the failure. Reinstalling everything is rarely the first good answer, and it usually makes diagnosis harder instead of easier.
Quick answers to the errors people search for next
If you see WSL 2 requires an update to its kernel component, run wsl --update, then wsl --shutdown, then reboot. If that still fails, check Windows Update and whether the machine is blocked from downloading the WSL update.
If you see The system cannot find the file specified, the path or startup target is often wrong. That can mean the distro name is wrong, a mounted path no longer exists, or Docker is pointing at a file or command that was moved.
If Docker says the WSL 2 backend is not running, restart Docker Desktop first, then run wsl --shutdown, then relaunch Docker. If the message returns, check that Windows virtualization is enabled and that the WSL features are installed.
If a container starts only after a reboot, but not after normal restarts, the issue is often a service or update state problem. In that case, check Docker Desktop logs, Windows Event Viewer, and the output of wsl -l -v and wsl --status for the first real error.
Conclusion
If the container still will not start, use `wsl -l -v`, `wsl --status`, and your container app’s logs to identify the failing layer. Then fix that layer only, instead of trying random changes across WSL, Docker, and Windows at once.
Frequently Asked Questions
What should I do if `WSL 2 requires an update` keeps coming back?
Run `wsl --update`, then `wsl --shutdown`, then reboot. If the message returns, check that Windows Update is working and that your network or policy settings are not blocking the WSL update.
Why does Docker say the WSL backend is running, but my container still won’t start?
That usually means WSL itself is available, but the problem is in the image, startup command, mounted files, or container configuration. Try a known-good container to separate a Docker/runtime issue from a container-specific one.
Should I unregister the distro to fix this?
Only as a last resort, after you back up anything important. Unregistering removes the distro’s Linux filesystem, which can include your projects, keys, and local data.