podman icon indicating copy to clipboard operation
podman copied to clipboard

Looking for one click installation

Open tppalani opened this issue 8 months ago • 2 comments

Feature request description

Hi Team

Good morning.

In our organisation we have 14k employees lost two years we are all migrated from docker to Podman in windows and mac systems.

Right now the installation is happenings through the SCCM packing system for example I’m new user to the organisation u need submit the ticket to IT team to enable to podman in my system, when the ticket is moves to IT TEAM they will push the packages to target machine based on the user and respective on the host name.

Post this user need to be configure few podman prerequisite to enable the virtualisation, wsl, wsl version 2 with latest package version and then user will configure podman machine setup including ssh key setup.

How to avoid this all steps to simplify user or IT team can do end to end installation using powershell script or any other way if you have.

Thanks Palani

Suggest potential solution

A clear and concise description of what you want to happen.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

tppalani avatar Mar 15 '25 06:03 tppalani

@l0rd PTAL. Can windows users install without admin privs? Also, my memory is hazy but I guess our installer can be run via command line along with options passed to it?

lsm5 avatar Mar 17 '25 11:03 lsm5

Admin privileges are needed to run the installer. If that's an issue, using something like scoop allows you to do it without being an admin (c.f. this issue).

Enabling WSL requires admin privileges and rebooting the machine and it's is a pre-requisite for installation.

In the common installation use case, you don't need to setup SSH keys.

The installer can be run via command line (podman-<version>-setup.exe /install /quiet MachineProvider=wsl)

To use Podman there are 5 preliminary steps required (steps in bold require root):

  • Enable the Virtual Machine Platform feature (requires a reboot)
  • Install or update WSL
  • Download and run Podman installer
  • Create a Podman machine
  • Start the Podman machine

In pseudo powershell:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl.exe --install or wsl.exe --update
podman-<version>-setup.exe /install /quiet MachineProvider=wsl
podman machine init
podman machine start

l0rd avatar Mar 17 '25 11:03 l0rd

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Apr 17 '25 00:04 github-actions[bot]