The installation guide for running Podman on Windows 11 follows the same idea as Install Docker on Windows 11 without Docker Desktop.
Prerequisites
- Make sure to follow and complete the official Windows Subsystem for Linux Microsoft documentation.
- sudo privileges
Solution
Note(s): The following steps will be based on Ubuntu WSL, and it follows the official Podman installation for Ubuntu.
Step 1. Update package index.
sudo apt-get update -y
Step 2. Add Podman package repo.
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:testing.list
Note: If ${VERSION_ID}
is empty by any chance, try replacing it with $(lsb_release -sr)
.
Step 3. Install the ca-certificates
package.
sudo apt-get install -y ca-certificates
Step 4. Download and add the required GPG key.
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/testing/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add -
Step 5. Update the package index again.
sudo apt-get update -y
Step 6. Finally, install Podman.
sudo apt-get install -y podman
Step 7. Last but not least, verify installation.
podman info
Conclusion
Next things you might want to try out is running Podman in a rootless mode. Official documentation here. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.