<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Miththiran Varathan</title>
    <description>The latest articles on DEV Community by Miththiran Varathan (@rajamiththiran).</description>
    <link>https://dev.to/rajamiththiran</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2637900%2F4f890f6d-a701-43f3-903a-cc6c30145aa4.jpeg</url>
      <title>DEV Community: Miththiran Varathan</title>
      <link>https://dev.to/rajamiththiran</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajamiththiran"/>
    <language>en</language>
    <item>
      <title>Podman for Windows</title>
      <dc:creator>Miththiran Varathan</dc:creator>
      <pubDate>Thu, 02 Jan 2025 02:06:52 +0000</pubDate>
      <link>https://dev.to/rajamiththiran/podman-for-windows-4nm9</link>
      <guid>https://dev.to/rajamiththiran/podman-for-windows-4nm9</guid>
      <description>&lt;h2&gt;
  
  
  Hello Folks!
&lt;/h2&gt;

&lt;p&gt;If you have no idea how to install and use &lt;strong&gt;Podman&lt;/strong&gt; on Windows, you’re in the right place. In this article, we are going to learn how to get and use Podman on Windows. Don’t panic—it’s not a deep, cranky article. By the end of this, you might just learn something today!&lt;/p&gt;

&lt;p&gt;Let’s get started with a step-by-step guide to installing and using &lt;strong&gt;Podman&lt;/strong&gt; on Windows. But before we jump into the process, I’ll first give you a quick introduction to Podman and why it’s such a game-changer in the container world.&lt;/p&gt;

&lt;h1&gt;
  
  
  Introduction of Podman
&lt;/h1&gt;

&lt;p&gt;Alright, let's break it down in simple terms:&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;What Are Containers?&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Imagine you have a favorite app, like a game or a photo editor. Normally, to run this app on a different computer, you'd need to make sure that the computer has all the right settings and software. Containers solve this problem by packaging the app along with everything it needs to run—like its own mini-computer. This way, you can run the app anywhere without worrying about compatibility issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Famous Container Management Tools&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Regarding managing these containers, two big names are &lt;strong&gt;Docker&lt;/strong&gt; and &lt;strong&gt;Podman&lt;/strong&gt;. Think of them as helpful assistants who create, run, and organize containers for you. Docker has been around longer and is widely used, while Podman is a newer tool gaining popularity.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Docker vs. Podman&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Both Docker and Podman help you work with containers, but they have some key differences. Docker uses a background service (called a daemon) to manage containers, which means it requires administrative privileges. Podman, on the other hand, doesn't rely on this background service and can run containers without needing special permissions, making it a bit more secure and lightweight.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feqk7l6tpdvrw0gqqkk5e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feqk7l6tpdvrw0gqqkk5e.png" alt="Image description" width="693" height="619"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoclbyfoh8nr0uumkxme.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgoclbyfoh8nr0uumkxme.png" alt="Image description" width="690" height="619"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;em&gt;Why Is Podman a Game Changer?&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;Podman is shaking things up because it offers a more secure and flexible way to manage containers. Its ability to run without special permissions reduces security risks, and its compatibility with existing Docker tools means you can switch to Podman without much hassle. Plus, Podman's design allows for faster container startups, making your workflow more efficient.&lt;/p&gt;

&lt;p&gt;For a visual explanation of containers, you might find this video helpful:&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=q_bQeXhWxZM" rel="noopener noreferrer"&gt;What is a Container?&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;
  
  
  Did you get it? now you know what is podman now we just worry about how to use it on Windows
&lt;/h3&gt;
&lt;h1&gt;
  
  
  Podman for Windows
&lt;/h1&gt;

&lt;p&gt;"Containers are Linux," but guess what? Podman works on Windows too! It runs through a virtual Linux system called a Podman machine, which you can manage using the &lt;code&gt;podman machine&lt;/code&gt; command. On Windows, this machine is powered by WSLv2, and you can access Podman straight from PowerShell, CMD, or even hop into the Linux environment if that’s your vibe. Oh, and the best part? Podman plays nice with Docker tools, so you can keep using all your favorite stuff without a hitch!&lt;/p&gt;
&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;p&gt;To use Podman on Windows, you’ll need Windows 10 (build 18362+) or Windows 11 (build 19041+ for arm64). Since WSL relies on virtualization, make sure hardware virtualization is enabled, and if you're running Windows in a VM, nested virtualization is a must.&lt;/p&gt;

&lt;p&gt;Also, grab the modern "Windows Terminal" for a much better experience than the old PowerShell or CMD. You can find it in the Windows Store or just run this command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;winget install Microsoft.WindowsTerminal&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It’s easy, and trust me, it’s worth it!&lt;/p&gt;
&lt;h2&gt;
  
  
  Installing Podman
&lt;/h2&gt;

&lt;p&gt;To install Podman on Windows, start by downloading the Windows installer from the official &lt;a href="https://github.com/containers/podman/releases" rel="noopener noreferrer"&gt;GitHub release page&lt;/a&gt;. Make sure to grab version 4.1 or later for all the features in this guide.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjykut2nmdg8avkq852m8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjykut2nmdg8avkq852m8.png" alt="Image description" width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fifxc594ae6ocooprbbxg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fifxc594ae6ocooprbbxg.png" alt="Image description" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once downloaded, run the EXE file and restart your terminal. After that, &lt;code&gt;podman.exe&lt;/code&gt; will be ready to use, and you can set up your first Podman machine with this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Easy, right? You're all set to start using Podman!&lt;/p&gt;

&lt;h2&gt;
  
  
  Automatic WSL Installation
&lt;/h2&gt;

&lt;p&gt;If you don’t have WSL installed, the &lt;code&gt;podman machine init&lt;/code&gt; command will prompt an automatic installation. Just accept it, and Windows will handle the setup: installing required components, restarting your system, and relaunching the process in a terminal. Patience is key—Windows might take a minute or two to relaunch. If you prefer, you can skip the auto-install and set up WSL manually, but it’ll take extra time and effort.&lt;/p&gt;

&lt;h2&gt;
  
  
  Machine Init Process
&lt;/h2&gt;

&lt;p&gt;Once WSL is ready, running &lt;code&gt;podman machine init&lt;/code&gt; sets up a minimal Fedora environment tailored for Podman. The setup process might take a few minutes, especially if it’s a fresh WSL installation. Here’s what happens: files are extracted, Fedora is customized, and your machine is prepped with keys and configurations. When done, you’ll see a success message along with instructions to start your machine:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Starting the Machine
&lt;/h2&gt;

&lt;p&gt;After initialization, you can start or stop the machine whenever you need. Just use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F95s5f0j1w1hbfakl8jhb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F95s5f0j1w1hbfakl8jhb.png" alt="Image description" width="800" height="292"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By default, the machine runs in rootless mode, which works great for most use cases. If you need root access (e.g., for ports below 1024) or better compatibility with Docker clients, you can switch to rootful mode with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine &lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;--rootful&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the machine is started, Podman will even listen on the Docker API, so Docker tools can connect without extra setup. Pretty smooth, right?&lt;/p&gt;

&lt;h2&gt;
  
  
  First Podman Command
&lt;/h2&gt;

&lt;p&gt;Once everything’s set up, Podman commands work just like they do on Linux. Want a quick test? Try running a simple Linux &lt;code&gt;date&lt;/code&gt; command right from PowerShell:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman run ubi8-micro &lt;span class="nb"&gt;date&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom! You’ll get the current date and time. Easy, right?&lt;/p&gt;

&lt;h2&gt;
  
  
  Rootful &amp;amp; Rootless
&lt;/h2&gt;

&lt;p&gt;Podman on WSL runs in two modes: &lt;strong&gt;rootless&lt;/strong&gt; (default) and &lt;strong&gt;rootful&lt;/strong&gt;. Rootless mode uses a non-privileged user for added security and mirrors the default behavior of Podman on Linux. Rootful mode, on the other hand, runs as the root user and is needed for certain tasks. Here’s the catch: containers in rootful and rootless modes are isolated from each other. For example, running &lt;code&gt;podman ps&lt;/code&gt; in one mode won’t show containers from the other.&lt;/p&gt;

&lt;p&gt;If you need rootful mode (e.g., for a container that requires root or to bind a port below 1024), you can switch by stopping the machine and running:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine stop
podman machine &lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;--rootful&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Want to go back to rootless? No problem—just do this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine stop
podman machine &lt;span class="nb"&gt;set&lt;/span&gt; &lt;span class="nt"&gt;--rootful&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;While rootless is fine for most scenarios, some containers or services (like MySQL) might need rootful for those low-numbered ports. But don’t worry—Podman is always improving, and future updates might make rootless even more flexible!&lt;/p&gt;

&lt;h2&gt;
  
  
  Listing Podman Machine(s)
&lt;/h2&gt;

&lt;p&gt;To see all available Podman machines and their resource usage, just run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine &lt;span class="nb"&gt;ls&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This shows details like the machine name, type, status, and resources (CPU, memory, disk size). For example:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgkp36bc1db77gerti0nm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgkp36bc1db77gerti0nm.png" alt="Image description" width="800" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Remember, WSL shares the same virtual machine and Linux kernel for all distributions, so CPU and memory values are shared across systems. However, the disk size is unique to each distribution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using the WSL Command
&lt;/h2&gt;

&lt;p&gt;You can access the Linux system directly using the &lt;code&gt;wsl&lt;/code&gt; command. By default, this logs you in as root due to WSL's limitations with system services (systemd). To access your Podman machine, specify it with the &lt;code&gt;-d&lt;/code&gt; flag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;-d&lt;/span&gt; podman-machine-default
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This drops you into the Podman machine’s shell, running systemd in a nested namespace. To exit back to the parent namespace, use &lt;code&gt;ctrl-d&lt;/code&gt; or type &lt;code&gt;exit&lt;/code&gt;—you might need to do this twice if you’re logged in as a user.&lt;/p&gt;

&lt;p&gt;If you want to use Podman in rootless mode (non-privileged user), switch users with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or, for a quicker way, use &lt;code&gt;enterns&lt;/code&gt; with the &lt;code&gt;wsl&lt;/code&gt; command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;-d&lt;/span&gt; podman-machine-default enterns su user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You’ll now be operating as a non-root user. For root tasks or system services, prefix your command with &lt;code&gt;enterns&lt;/code&gt;, like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wsl &lt;span class="nt"&gt;-d&lt;/span&gt; podman-machine-default enterns systemctl status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Avoid using the &lt;code&gt;-u&lt;/code&gt; option or running commands without &lt;code&gt;enterns&lt;/code&gt;, as it can cause issues by targeting the wrong namespace. Stick to these steps for smooth sailing!&lt;/p&gt;

&lt;h3&gt;
  
  
  Using Windows Terminal Integration
&lt;/h3&gt;

&lt;p&gt;Accessing your Podman machine through Windows Terminal is super easy. Just click the drop-down menu and select &lt;code&gt;podman-machine-default&lt;/code&gt;. This logs you in directly as root with just two clicks!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukt0d3gw9z2pa1ndnrv8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fukt0d3gw9z2pa1ndnrv8.png" alt="Image description" width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To switch to a non-privileged user for rootless Podman commands, simply type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;su user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For example, if you run the following command as a non-privileged user:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman info &lt;span class="nt"&gt;--format&lt;/span&gt; &lt;span class="s1"&gt;'{{.Store.RunRoot}}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You’ll get the container runtime directory for that user, such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/run/user/1000/containers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Simple, quick, and efficient—Windows Terminal makes managing Podman machines a breeze!&lt;/p&gt;

&lt;h2&gt;
  
  
  Stopping a Podman Machine
&lt;/h2&gt;

&lt;p&gt;To stop a running Podman machine, use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine stop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PS C:\Users\User&amp;gt; podman machine stop
Machine "podman-machine-default" stopped successfully
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Removing a Podman Machine
&lt;/h2&gt;

&lt;p&gt;To completely remove a Podman machine, use:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;podman machine &lt;span class="nb"&gt;rm&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You’ll get a list of files to be deleted, like SSH keys and configuration files. Confirm by typing &lt;code&gt;y&lt;/code&gt; when prompted:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Are you sure you want to continue? [y/N] y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Recovering from a Failed WSL Auto-Install
&lt;/h3&gt;

&lt;p&gt;If the auto-install of WSL fails and retrying doesn’t work, you can manually reset and reinstall WSL with these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Launch PowerShell as Administrator&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   Start-Process powershell &lt;span class="nt"&gt;-Verb&lt;/span&gt; RunAs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Disable WSL Features&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
   dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /norestart
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reboot Your System&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Manually Install WSL&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   wsl &lt;span class="nt"&gt;--install&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Reinitiate Podman Setup&lt;/strong&gt;
After WSL is reinstalled, continue with:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   podman machine init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With these steps, you can troubleshoot and get Podman up and running without a hitch!&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
