Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to use RHEL 10 as a WSL Podman machine

May 21, 2025
Jeff Maury
Related topics:
Application modernizationContainersDeveloper ToolsVirtualizationWindows
Related products:
Developer ToolsImage mode for Red Hat Enterprise LinuxPodman Desktop

Share:

    The article Getting started with RHEL on WSL covers how to build and run Red Hat Enterprise Linux (RHEL) Windows Subsystem for Linux (WSL) images. Here, we'll dive into the specific options required to configure that RHEL 10 WSL distribution for use as a Podman machine.

    Requirements

    To use the RHEL 10 WSL image as a Podman machine, ensure that the following packages are installed:

    • podman
    • podman-docker
    • procps-ng
    • openssh-server
    • net-tools
    • iproute
    • sudo
    • iptables-nft

    Luckily, all are available from the preconfigured RHEL 10 repositories.

    Build the image

    1. Navigate to image builder (Figure 1).
    Figure 1: Image builder welcome page.
    Figure 1: Image builder welcome page.
    1. Click Create blueprint to open the Create image dialog wizard (Figure 2).
    Figure 2: New image output options page.
    Figure 2: New image output options page.
    1. On the Image output page, select the following:
      1. From the Release list, select Red Hat Enterprise Linux (RHEL) 10.
      2. From the Select target environments option, select WSL - Windows Subsystem for Linux (.tar.gz).
      3. Click Next.
    2. On the Register page:
      1. Select Automatically register and enable advanced capabilities.
      2. From the drop-down menu, choose an activation key to use for the image. See Creating an activation key.
      3. Click Next.
    3. On the OpenSCAP page, as it is not supported for WSL images, click Next.
    4. On the File system configuration page, select Recommended: Use automatic partitioning and click Next.
    5. On the Repeatable build page, select Disable repeatable build and click Next.
    6. On the Custom repositories page, click Next.
    7. On the Additional packages page:
      1. In the Available packages search field, enter podman.
      2. Select the podman and podman-docker packages.
      3. In the Available packages search field, enter procps-ng.
      4. Select the procps-ng package.
      5. In the Available packages search field, enter openssh-server.
      6. Select the openssh-server package.
      7. In the Available packages search field, enter net-tools.
      8. Select the net-tools package.
      9. In the Available packages search field, enter iproute.
      10. Select the iproute package.
      11. In the Available packages search field, enter sudo.
      12. Select the sudo package.
      13. In the Available packages search field, enter iptables-nft.
      14. Select the iptables-nft package.
      15. Click Next.
    8. On the Users page, click Next.
    9. On the Timezone page, click Next.
    10. On the Locale page, click Next.
    11. On the Hostname page, click Next.
    12. On the Kernel page, click Next.
    13. On the Firewall page, click Next.
    14. On the First boot script configuration page, click Next.
    15. On the Details page:
      1. In the Blueprint name, enter rhel10-wsl.
      2. Click Next.
    16. On the Review page, click Create blueprint and build image (Figure 3).
    Figure 3: Image builder images list.
    Figure 3: Image builder images list.

    The image is being built. Once the build is finished, the download link will be available. Click the Download (.tar.gz) link and save the downloaded file to one of your local folders.

    Create the RHEL 10 WSL Podman machine

    Launch Podman Desktop and go to the Settings → Resources page, as shown in Figure 4.

    Figure 4: Podman Desktop resources page.
    Figure 4: Podman Desktop resources page.

    On the Podman provider, click Create new ...

    On the Create Podman machine page, click the Browse button for the Image Path field and select the file downloaded from image builder. See Figure 5.

    Figure 5: The new Podman machine page in Podman Desktop.
    Figure 5: The new Podman machine page in Podman Desktop.

    Click the Create button. The machine will be created and started. After a short time, the operation status should be reported, as depicted in Figure 6.

    Figure 6: Podman Machine new machine created page.
    Figure 6: Podman Machine new machine created page.

    Let's play with the RHEL 10 WSL Podman machine

    Go to the Images page and pull the httpd image (Figure 7).

    Figure 7: Podman Desktop pull image page.
    Figure 7: Podman Desktop pull image page.

    Click Done (Figure 8).

    Figure 8: Podman Desktop images list page.
    Figure 8: Podman Desktop images list page.

    Start the image by clicking on the Run image icon (Figure 9).

    Figure 9: Podman Desktop create container options page.
    Figure 9: Podman Desktop create container options page.

    Once the container is started, you can access the Apache server on http://localhost:9000.

    Try Insights image builder and RHEL 10 on WSL today

    Visit Insights image builder to build your customized image of RHEL 10, then deploy your image locally on Microsoft WSL. Check out the overview and the latest blog posts at redhat.com/image-builder.

    You can also explore related learning paths:

    • Build and run a bootable container image with image mode for RHEL and Podman Desktop
    • Container development using Podman, Podman Desktop, and Kubernetes
    • Harden new builds with Insights image builder and compliance
    OSZAR »

    Related Posts

    • Red Hat Enterprise Linux now available for Windows Subsystem for Linux

    • Getting started with RHEL on WSL

    • Rootless containers with Podman: The basics

    • Podman and Buildah for Docker users

    • Containerize .NET for Red Hat OpenShift: Windows containers and .NET Framework

    • Create a Windows golden image for OpenShift Virtualization

    Recent Posts

    • Improve GPU utilization with Kueue in OpenShift AI

    • Integration Powers AI: Apache Camel at Devoxx UK 2025

    • How to use RHEL 10 as a WSL Podman machine

    • MINC: Fast, local Kubernetes with Podman Desktop & MicroShift

    • How to stay informed with Red Hat status notifications

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue

    OSZAR »