containers / podman-desktop

Podman Desktop - A graphical tool for developing on containers and Kubernetes
https://podman-desktop.io
Apache License 2.0
4.52k stars 287 forks source link

Install docker-compose binary got error message #6543

Open ZPOMI opened 5 months ago

ZPOMI commented 5 months ago

Bug description

When I use Podman Desktop to follow docker-compose, I encounter an error message related to user permissions, do I need to do any privilege escalation operations on Windows 11? Also, I installed with admin privileges and had the same problem.

Operating system

Windows 11

Installation Method

Installer from website/GitHub releases

Version

1.8.0

Steps to reproduce

No response

Relevant log output

VM5:2 main ↪️ [compose] Failed to install 'docker-compose' binary: Error: Failed to execute command: User did not grant permission.
console.<computed>  @   VM5:2
(anonymous) @   VM5:2
emit    @   VM4 sandbox_bundle:2
onMessage   @   VM4 sandbox_bundle:2
VM5:2 main ↪️ [compose] Error: Failed to execute command: User did not grant permission.
    at C:\Users\*****\AppData\Local\Programs\podman-desktop\resources\app.asar\packages\main\dist\index.cjs:304:11148
    at C:\Users\*****\AppData\Local\Programs\podman-desktop\resources\app.asar\packages\main\dist\index.cjs:301:1476
    at ChildProcess.exithandler (node:child_process:414:7)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5)
console.<computed>  @   VM5:2
(anonymous) @   VM5:2
emit    @   VM4 sandbox_bundle:2
onMessage   @   VM4 sandbox_bundle:2

Additional context

podman-compose-failed

samolesen commented 2 months ago

+1. I would like to add the the wizard specifically mentions that you will be prompted, which never happened for me: image

Starting Podman Desktop as administrator does not affect this bug.