containers / podman-desktop

Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for developers. Get an intuitive and user-friendly interface to effortlessly build, manage, and deploy containers and Kubernetes — all from your desktop.
https://podman-desktop.io
Apache License 2.0
4.71k stars 297 forks source link

Windows Enterprise: Installing Podman Desktop for All Users #973

Open rchristman89 opened 1 year ago

rchristman89 commented 1 year ago

Bug description

Not sure if this a bug or a feature request. I am trying to install Podman Desktop for All Users that log in. I build an image with Packer and I am calling the installer with /S. From what I can tell the installer only installs the application for the user.

Is there a way to install Podman Desktop for all users on a workstation?

Operating system

Windows 11 Enterprise 22H2

Version

0.10.0

Steps to reproduce

  1. Create Image with packer that installs Podman Desktop
  2. Sysprep image
  3. Build VM from Image

Relevant log output

No response

Additional context

No response

benoitf commented 1 year ago

Hello @rchristman89

could you try /allusers flag on the installer ?

rchristman89 commented 1 year ago

@benoitf I tried adding that argument and it still doesn't show installed.

NezSez commented 1 year ago

Has there been any progress regarding installation for multi-user windows systems? This would be handy for any university admins who want it available to users of Windows lab and research computers in particular.

NezSez commented 1 year ago

Is winget install --scope machine option supported for the installer? Or -l, --location | Location to install to (if supported).

benoitf commented 1 year ago

hello @NezSez there was no progress for now on this part. I don't know if install --scope machine is supported (I would guess no as we didn't do anything).

We're using basic templates on Winget https://github.com/podman-desktop-bot/winget-pkgs/blob/31ab602ca3cf2a34b8aa69a2f3d2d2050be9c5fd/manifests/r/RedHat/Podman-Desktop/0.15.0/RedHat.Podman-Desktop.installer.yaml

NezSez commented 1 year ago

@benoitf Thanks for your reply! The limitations here aren't really with winget, it is with the flags, options, paths, etc used when building the podman-desktop-0.15.0-setup.exe file itself. Can you point me to the build process for that exe in the repos? I'm looking but haven't found it yet.

benoitf commented 1 year ago

@NezSez it is using electron builder under the hood

https://www.electron.build/configuration/nsis.html

And

https://github.com/containers/podman-desktop/blob/main/.electron-builder.config.cjs#L83

ZanzaZanzara commented 6 months ago

is this still in the works? Silent Install for all users would be really great to have.

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!