Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Request: Ability to name preferred WSL environment

未关闭
#6,224 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker

调研方向

首先追踪 Docker CLI 如何选择其 WSL 发行版,并阅读链接的有关运行特定发行版的 WSL 文档。确定此更改应仅选择 docker-desktop,还是支持用户配置的名称,然后验证所选环境会在不依赖默认 WSL 发行版的情况下被使用。

由索引模型根据 Issue 内容生成。

描述

kind/feature status/0-triage
Description

Currently, Docker Desktop blindly applies the default WSL environment. However, VPN's and other components are often incompatible with Docker's need for WSL v2. So the user ends up with multiple environments.

You already select a predictable name for this distribution, docker-desktop. Please select this named distro, instead of following the default environment.

https://learn.microsoft.com/en-us/windows/wsl/basic-commands#run-a-specific-linux-distribution-from-powershell-or-cmd

Better yet, allow the user to name a custom environment, in case they want to replace docker-desktop with yet another WSL distribution.

主要语言
Go
星标
6.1k
派生
2.2k
平均合并
1 天 10 小时
30 天内合并 PR
47

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

docker/cli 的其他 Issue

查看 docker/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。