Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add PowerShell installation script for Windows users

Aperta
#202 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, github, powershell
Ambito
cli

Direzione di ricerca

Inizia confrontando l’install.sh esistente del repository con lo script PowerShell proposto in tataouinea/Repair-DockerScoutCLI. Conferma come lo script debba gestire il rilevamento dell’architettura, i download da GitHub, la directory di installazione di Windows, gli aggiornamenti della configurazione Docker e i backup; il lavoro è completato quando è disponibile un percorso di installazione di Windows approvato e coerente con gli standard del repository.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Shell
Stelle
455
Fork
134
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/scout-cli

Tutte le issue di docker/scout-cli

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.