Skip to content

Instantly share code, notes, and snippets.

@error418
Created July 10, 2023 20:00
Show Gist options
  • Save error418/5d5a3d492dffde846c99e1dd4c0579a3 to your computer and use it in GitHub Desktop.
Save error418/5d5a3d492dffde846c99e1dd4c0579a3 to your computer and use it in GitHub Desktop.
Install Podman into Ubuntu WSL
#!/bin/bash
sudo apt update
# podman installation
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
sudo apt update
sudo apt install podman
echo "tmpfs /tmp tmpfs nosuid,nodev,noatime 0 0" >> /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment