Skip to content

winget configure unable to install Docker Desktop with DO #6469

Description

@27mrandazzo

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-ConfigureIssue related to WinGet ConfigurationIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIssue needs to be triagedPossible-DuplicateAutomatically surfaced as a likely duplicate of an existing issue; awaiting maintainer confirmation.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions