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 to allow users to set up Podman.
  • Set up a Podman machine using Hyper-V as the machine provider type.

2.1. Use WSL2 as the machine provider

Red Hat build of Podman Desktop helps you to create a Windows Subsystem for Linux version 2 (WSL 2) virtual machine, also known as the Podman machine. The major benefits are:

  • Ease of use.
  • WSL2 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 WSL2 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 nested virtualization on a virtual machine.

Procedure

  1. Run the following commands to enable the WSL feature without installing the default Ubuntu distribution of Linux:

    > wsl --update
    > wsl --install --no-distribution
  2. Restart your machine.

Verification

  • Run the wsl --status command 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 nested virtualization on a virtual machine.

Procedure

  1. Run the following command to enable the Hyper-V feature:

    Using command prompt

    > DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

    Using PowerShell

    > Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

  2. Restart your machine.

Verification

  • Check that Hyper-V is active.

    Using command prompt

    > systeminfo

    Using PowerShell

    > Get-Service vmcompute

When the Red Hat build of Podman Desktop installation completes, the Get started with Red Hat build of Podman Desktop screen opens. This screen helps you to start the onboarding process. You can use it to install Podman, the kubectl CLI, and the compose CLI. Alternatively, you can completely skip this onboarding setup. You can always complete the setup later by 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

  1. On the Get started with Red Hat build of Podman Desktop screen, click Start Onboarding.
  2. Perform the following steps to install Podman:

    1. Click Next. A confirmation notification opens.
    2. Click Yes. The Podman Setup screen opens with the default WSLv2 virtualization provider selected.
    3. Optional: If you want to use the Windows Hyper-V provider, select the other option.
    4. Click Install. A notification stating Installation Successfully Completed appears on the screen.
    5. Click Close. A page notifying that Podman is set up correctly opens.
  3. Perform the following steps to create a Podman machine:

    1. Click Next. A page notifying you to create a Podman machine opens.
    2. Click Next, and then click Create.

      Note

      You can also create additional Podman machines of any provider type later. For more details, refer to Configure a Podman machine.

  4. Click Next, and follow the instructions on the screen to install the kubectl and compose CLIs.
  5. 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.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top