`winget configure` unable to install Docker Desktop with DO
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Reproduce the issue with winget dsc winget-dsc-docker.yaml using the shown Docker.DockerDesktop resource and network.downloader set to do, then compare it with winget install Docker.DockerDesktop and the wininet downloader. Trace the winget configure path for DO-backed downloads and installer execution; done means Docker Desktop installs without hanging.
Written by the indexing model from the issue text.
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget configure
Brief description of your issue
When using winget configure, winget simply stalls trying to install Docker.DockerDesktop. However, when using winget install Docker.DockerDesktop, it works fine. In addition, running winget configure with network.downloader set to wininet works fine. It seems the issue happens when using both winget configure and DO.
Steps to reproduce
Run winget dsc winget-dsc-docker.yaml, with this file:
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
resources:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-docker-desktop
directives:
description: Install docker desktop
securityContext: elevated
settings:
id: Docker.DockerDesktop
source: winget
installMode: silent
configurationVersion: 0.2.0
with network.downloader set to do (default).
Expected behavior
Docker desktop should be installed.
Actual behavior
Docker desktop was not installed. Instead, it would hold indefinitely, as the installer continues running, I believe.
Environment
Windows Package Manager v1.29.280
Windows: Windows.Desktop v10.0.19045.6456
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.280.0
(running in a VM)
- Dominant language
- C++
- Stars
- 26.6k
- Forks
- 1.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/winget-cli
-
Issue-Docs Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microsoft/winget-cli#6692 ·
Maintainers usually reply within 2 days
-
Issue-Docs Possible-Duplicate
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/winget-cli#6493 · 1 comment ·
Maintainers usually reply within 2 days
-
Issue-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/winget-cli#6427 ·
Maintainers usually reply within 2 days
-
Issue-Docs msstore
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
microsoft/winget-cli#6331 · 1 comment ·
Maintainers usually reply within 2 days
-
Command-Source Issue-Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/winget-cli#6148 ·
Maintainers usually reply within 2 days
All issues in microsoft/winget-cli
Similar issues
-
feat
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stratum-mining/sv2-tp#167 ·
Maintainers usually reply within 1 day
-
better error message bug low priority semantics strings
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Sign up button opens the Sign in page instead of the Sign up page for Enterprise edition serversOpenauth bug ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
MerginMaps/mobile#4795 ·
Maintainers usually reply within 2 days