The trick for installation and running Podman on Windows 10 follows the same idea as Install Docker on Windows 10 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
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 the installation.
podman info
Conclusion
Running Podman on Windows 10 it’s straight and easy under WSL. Next things you might want to check 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.