I am using windows 11 to install Docker, Docker stopped, " unexpected error occurred while executing WSL command" I shut wsl down, install reinstall no change,
The msg: Docker Desktop - Unexpected WSL error
An unexpected error occurred while executing a WSL command.
Either shut down WSL down with wsl --shutdown, and/or reboot your machine. You can also try reinstalling WSL and/or Docker Desktop. If the issue persists, collect diagnostics and submit an issue .
deploying WSL2 distributions
ensuring data disk is available: exit code: 4294967295: running WSL command wsl.exe C:\Windows\System32\wsl.exe --mount --bare --vhd \AppData\Local\Docker\wsl\disk\docker_data.vhdx: Copyright (c) Microsoft Corporation. All rights reserved.Usage: wsl.exe [Argument] [Options…] [CommandLine]Arguments for running Linux binaries: If no command line is provided, wsl.exe launches the default shell. --exec, -e Execute the specified command without using the default Linux shell. – Pass the remaining command line as is.Options: --cd Sets the specified directory as the current working directory. If ~ is used the Linux user’s home path will be used. If the path begins with a / character, it will be interpreted as an absolute Linux path. Otherwise, the value must be an absolute Windows path. --distribution, -d Run the specified distribution. --user, -u Run as the specified user. --system Launches a shell for the system distribution.Arguments for managing Windows Subsystem for Linux: --help Display usage information. --install [Options] Install additional Windows Subsystem for Linux distributions. For a list of valid distributions, use ‘wsl --list --online’. Options: --distribution, -d [Argument] Downloads and installs a distribution by name. Arguments: A valid distribution name (not case sensitive). Examples: wsl --install -d Ubuntu wsl --install --distribution Debian --set-default-version Changes the default install version for new distributions. --shutdown Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine. --status Show the status of Windows Subsystem for Linux. --update [Options] If no options are specified, the WSL 2 kernel will be updated to the latest version. Options: --rollback Revert to the previous version of the WSL 2 kernel.Arguments for managing distributions in Windows Subsystem for Linux: --export Exports the distribution to a tar file. The filename can be - for standard output. --import [Options] Imports the specified tar file as a new distribution. The filename can be - for standard input. Options: --version Specifies the version to use for the new distribution. --list, -l [Options] Lists distributions. Options: --all List all distributions, including distributions that are currently being installed or uninstalled. --running List only distributions that are currently running. --quiet, -q Only show distribution names. --verbose, -v Show detailed information about all distributions. --online, -o Displays a list of available distributions for install with ‘wsl --install’. --set-default, -s Sets the distribution as the default. --set-version Changes the version of the specified distribution. --terminate, -t Terminates the specified distribution. --unregister Unregisters the distribution and deletes the root filesystem. --mount Attaches and mounts a physical disk in all WSL2 distributions. Options: --bare Attach the disk to WSL2, but don’t mount it. --type Filesystem to use when mounting a disk, if not specified defaults to ext4. --options Additional mount options. --partition Index of the partition to mount, if not specified defaults to the whole disk. --unmount [Disk] Unmounts and detaches a disk from all WSL2 distributions. Unmounts and detaches all disks if called without argument.: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.
Read our policy for uploaded diagnostic data
Docker Desktop - Unexpected WSL error
An unexpected error occurred while executing a WSL command.
Either shut down WSL down with wsl --shutdown, and/or reboot your machine. You can also try reinstalling WSL and/or Docker Desktop. If the issue persists, collect diagnostics and submit an issue .
deploying WSL2 distributions
ensuring data disk is available: exit code: 4294967295: running WSL command wsl.exe C:\Windows\System32\wsl.exe --mount --bare --vhd \AppData\Local\Docker\wsl\disk\docker_data.vhdx: Copyright (c) Microsoft Corporation. All rights reserved.Usage: wsl.exe [Argument] [Options…] [CommandLine]Arguments for running Linux binaries: If no command line is provided, wsl.exe launches the default shell. --exec, -e Execute the specified command without using the default Linux shell. – Pass the remaining command line as is.Options: --cd Sets the specified directory as the current working directory. If ~ is used the Linux user’s home path will be used. If the path begins with a / character, it will be interpreted as an absolute Linux path. Otherwise, the value must be an absolute Windows path. --distribution, -d Run the specified distribution. --user, -u Run as the specified user. --system Launches a shell for the system distribution.Arguments for managing Windows Subsystem for Linux: --help Display usage information. --install [Options] Install additional Windows Subsystem for Linux distributions. For a list of valid distributions, use ‘wsl --list --online’. Options: --distribution, -d [Argument] Downloads and installs a distribution by name. Arguments: A valid distribution name (not case sensitive). Examples: wsl --install -d Ubuntu wsl --install --distribution Debian --set-default-version Changes the default install version for new distributions. --shutdown Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine. --status Show the status of Windows Subsystem for Linux. --update [Options] If no options are specified, the WSL 2 kernel will be updated to the latest version. Options: --rollback Revert to the previous version of the WSL 2 kernel.Arguments for managing distributions in Windows Subsystem for Linux: --export Exports the distribution to a tar file. The filename can be - for standard output. --import [Options] Imports the specified tar file as a new distribution. The filename can be - for standard input. Options: --version Specifies the version to use for the new distribution. --list, -l [Options] Lists distributions. Options: --all List all distributions, including distributions that are currently being installed or uninstalled. --running List only distributions that are currently running. --quiet, -q Only show distribution names. --verbose, -v Show detailed information about all distributions. --online, -o Displays a list of available distributions for install with ‘wsl --install’. --set-default, -s Sets the distribution as the default. --set-version Changes the version of the specified distribution. --terminate, -t Terminates the specified distribution. --unregister Unregisters the distribution and deletes the root filesystem. --mount Attaches and mounts a physical disk in all WSL2 distributions. Options: --bare Attach the disk to WSL2, but don’t mount it. --type Filesystem to use when mounting a disk, if not specified defaults to ext4. --options Additional mount options. --partition Index of the partition to mount, if not specified defaults to the whole disk. --unmount [Disk] Unmounts and detaches a disk from all WSL2 distributions. Unmounts and detaches all disks if called without argument.: exit status 0xffffffff
checking if isocache exists: CreateFile \wsl$\docker-desktop-data\isocache: The network name cannot be found.
Read our policy for uploaded diagnostic data