Skip to content

[Bug] Docker usage issues in WSL2 with version v2 #10258

@llkkk

Description

@llkkk

Contact Information

646703306@qq.com

1Panel Version

v2.0.10

Problem Description

windows 11系统,wsl2的ubuntu中安装1panel,docker是安装的docker desktop,v1版本可以正常使用,升级v2版本之后,安装的时候提示 Failed to restart docker.service: Unit docker.service not found.

Image

安装成功后,界面上应用商店无法使用,提示docker服务未启动,挑战到容器配置界面后,可以看到能正常识别到docker版本,但是点击启动后失败,提示还是 docker.service 找不到。

Image

Steps to Reproduce

win11 安装docker desktop,wsl2的ubuntu 24.04中docker功能正常, 1panel因找不到 docker service 导致docker相关功能无法使用

The expected correct result

与 v1 版本一样,可正确兼容 docker desktop 在 wsl2中的使用。

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions