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

Add PowerShell installation script for Windows users

未关闭
#202 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

首先,将仓库现有的 install.sh 与 tataouinea/Repair-DockerScoutCLI 中提议的 PowerShell 脚本进行比较。确认脚本应如何处理架构检测、GitHub 下载、Windows 安装目录、Docker 配置更新和备份;当确定了符合仓库标准且经过批准的 Windows 安装路径后,即表示完成。

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

描述

Issue Description:

Currently, the Docker Scout CLI repository provides an automated Bash installation script (install.sh) for Linux and macOS users, but Windows users must either rely on Docker Desktop or perform manual installation steps.

However, many Windows users are experiencing Docker Desktop update failures specifically related to Docker Scout CLI updates (see docker/for-win#14807 and my workaround comment). This leaves Windows users with no automated installation option when Docker Desktop's built-in updater fails.

Proposed Solution:

I've created a PowerShell script that automates the Docker Scout CLI installation process for Windows users. The script:

  • Automatically detects CPU architecture (amd64/arm64)
  • Downloads the latest release from GitHub
  • Installs to the correct Windows directory (%USERPROFILE%\.docker\scout)
  • Updates the Docker configuration file with proper JSON formatting
  • Creates backups and handles edge cases safely

Repository: https://github.com/tataouinea/Repair-DockerScoutCLI

Benefits:

  1. Immediate value: Provides a workaround for the current Docker Desktop update issue affecting Windows users
  2. Long-term value: Gives Windows users parity with Linux/macOS automated installation, even after Docker Desktop issues are resolved
  3. Consistency: Follows the same approach as the existing Bash script for other platforms

Request:

Would the maintainers be interested in a PR that adds this PowerShell script to the repository? This would provide Windows users with the same automated installation experience that Linux and macOS users currently enjoy, and could serve as the official Windows installation method alongside the existing Bash script.

The script has been tested and successfully resolves the Docker Desktop update issue, but integrating it into the official repository would make it more discoverable and accessible to affected users.

I'm open to making any necessary modifications to the script to meet repository standards, such as:

  • Removing excessive confirmation prompts for a cleaner experience
  • Adjusting or removing the automatic backup functionality for the JSON configuration file
  • Any other changes to align with the project's coding standards and preferences

Thank you for considering this enhancement!

主要语言
Shell
星标
455
派生
134
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

docker/scout-cli 的其他 Issue

查看 docker/scout-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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