Install on Windows
Explore how you can install Red Hat build of Podman Desktop on Windows.
Abstract
Preface
To use Red Hat build of Podman Desktop on Windows, set up a lightweight Linux virtual machine known as the Podman machine. Key installation aspects include:
- Installation methods: Install Red Hat build of Podman Desktop using the Windows installer.
- Container engine provider: Select between Windows Subsystem for Linux version 2 (WSL 2), which is the recommended default for ease of use and performance, or Hyper-V to provision the Podman machine.
- Requirements: You must have administrator privileges to enable WSL 2 or Hyper-V when setting up the Podman engine. The environment requires a 64-bit Windows 11 OS and a minimum of 6 GB RAM for the Podman virtual machine.
-
Setup: After installing the application, the onboarding workflow guides you through installing the Podman engine, creating the default Podman machine, and optionally installing necessary CLIs like
kubectlandcompose.
Chapter 1. Install using the Windows installer
Install the Red Hat build of Podman Desktop using the Windows installer to simplify the setup process. This installer automatically configures the application and prepares the necessary environment for you.
During setup, you can choose from the following installation scopes:
- Anyone who uses this computer (all users): Installs the application for all users and requires administrative privileges; enter your credentials when prompted.
- Only for me (Username): Installs the application for the current user only; no administrative privileges required.
Prerequisites
- You have This content is not included.registered to create your Red Hat account. This is needed to authenticate and grant you access to the Windows installer file.
- You have logged in with your Red Hat account details on this This content is not included.page.
Procedure
Download the installer file:
- Go to the This content is not included.Downloads page.
- Click Download on the Windows tile.
-
Locate the file in the
Downloadsfolder, and double-click it. The Red Hat build of Podman Desktop Setup screen opens. - Select whether to install the application for all users or only for the current user.
- Click Install.
- After the installation is complete, click Finish to close the screen.
Verification
- Check that the Get started with Red Hat build of Podman Desktop screen opens after installation.
Next steps
- After enabling the machine provider on Windows, follow the instructions in Install Red Hat build of Podman Desktop dependencies.
Chapter 2. Install Podman
On Windows, running the Podman container engine requires a Linux distribution to run in a virtual machine. You can use Windows Subsystem for Linux version 2 (WSL 2) or Hyper-V as the machine provider.
During Podman installation, ensure that you have administrator privileges for the following tasks:
- Enable the WSL or Hyper-V feature.
- Create a Hyper-V Podman machine.
2.1. Use WSL 2 as the machine provider
Red Hat build of Podman Desktop helps you to create a Content from learn.microsoft.com is not included.Windows Subsystem for Linux version 2 (WSL 2) virtual machine, also known as the Podman machine. The major benefits are:
- Ease of use.
- WSL 2 native virtualization performance.
However, you must enable the WSL feature. This is required by Red Hat build of Podman Desktop to create the default wsl Podman machine.
Prerequisites
Before using WSL 2 as the machine provider, ensure that your environment meets the following requirements:
- 6 GB of RAM for the Podman machine.
Required WSL 2 prerequisites:
- Administrator privileges for the Windows user.
- A Windows 11 (64-bit) machine.
- Enable Content from learn.microsoft.com is not included.nested virtualization on a virtual machine.
Procedure
Run the following commands to enable the WSL feature without installing the default Ubuntu distribution of Linux:
> wsl --update > wsl --install --no-distribution
- Restart your machine.
Verification
-
Run the
wsl --statuscommand in the CLI to check that WSL 2 is available.
2.2. Use Hyper-V as the machine provider
As an administrator, you can set up a Podman machine using Hyper-V as the provider. Hyper-V on Windows offers the following benefits:
- Run multiple operating systems on a single machine.
- Speed up virtual machine deployment.
- Enhance security through environment isolation.
- Simplify management using native Windows tools and PowerShell.
You must enable the Hyper-V feature. This is required by Red Hat build of Podman Desktop to create the Hyperv Podman machine.
Prerequisites
Before using Hyper-V as the machine provider, ensure that your environment meets the following requirements:
- 6 GB of RAM for the Podman machine.
Required Hyper-V prerequisites:
- Administrator privileges for the Windows user.
- A Windows 11 (64-bit) machine.
- Enable Content from learn.microsoft.com is not included.nested virtualization on a virtual machine.
Procedure
Run the following command to enable the Hyper-V feature:
Using command prompt
> DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-VUsing PowerShell
> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All- Restart your machine.
Verification
Check that Hyper-V is active.
Using command prompt
> systeminfoUsing PowerShell
> Get-Service vmcompute
2.3. Install Red Hat build of Podman Desktop dependencies
Once Red Hat build of Podman Desktop is installed, install the required dependencies to begin using the application.
After installation, the Get started with Red Hat build of Podman Desktop screen helps you to start the onboarding process. You can skip this setup and complete it later using one of the following ways:
- Use the Set up button in the notification on the Dashboard page.
- Use the Setup Podman button on the Podman tile, located on the Settings > Resources page.
Procedure
On the Get started with Red Hat build of Podman Desktop screen, click Start Onboarding.
ImportantThe onboarding setup opens automatically when you first launch the application. However, you can skip this setup manually, or your administrator can disable it.
Perform the following steps to install Podman:
- Click Next. A confirmation notification opens.
- Click Yes. The Podman Setup screen opens with the default WSLv2 virtualization provider selected.
- Optional: If you want to use the Windows Hyper-V provider, select the other option.
- Click Install. A notification stating Installation Successfully Completed appears on the screen.
- Click Close. A page notifying that Podman is set up correctly opens.
Perform the following steps to create a Podman machine:
- Click Next. A page notifying you to create a Podman machine opens.
Click Next, and then click Create.
NoteYou can also create additional Podman machines of any provider type later. For more details, refer to Configure a Podman machine.
-
Click Next, and follow the instructions on the screen to install the
kubectlandcomposeCLIs. - After installing the CLIs, click Next to go to the Dashboard page.
Verification
- Go to the Settings > Resources page, and view the running Podman machine on the Podman tile.
You are ready to use the application.