# Docker Windows 下运行错误

**URL:** <https://www.isharkfly.com/t/docker-windows/17286>\
**Category:** DevOps\
**Created:** [May 9, 2025, 9:15pm UTC](https://www.isharkfly.com/t/docker-windows/17286 "2025-05-09T21:15:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [May 9, 2025, 9:15pm UTC](https://www.isharkfly.com/t/docker-windows/17286/1 "2025-05-09T21:15:49Z")

</div>

启动的时候的错误信息为：`An unexpected error was encountered while executing a WSL command`

![80a67346b7d84f050689c0778f0082c9bc1b0609_2_690x357](https://www.isharkfly.com/images/transparent.png)

## 原因和解决

上面的问题的原因是 WSL 的问题。

可能在 Windows 的环境下 WSL 没有被正确的启动。

需要重新安装 WSL 并确定能正常启动后再尝试。
