Skip to content

Instantly share code, notes, and snippets.

@candoom
Created September 7, 2021 13:01
Show Gist options
  • Save candoom/0fb8413b8890df932978fcfebc2784d8 to your computer and use it in GitHub Desktop.
Save candoom/0fb8413b8890df932978fcfebc2784d8 to your computer and use it in GitHub Desktop.
Install Podman in WSL - Debian 10
sudo apt-get install debian-archive-keyring
sudo sh -c "echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list"
sudo apt-get update
sudo apt-get -y -t buster-backports install libseccomp2
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update -qq
sudo apt-get -qq -y install podman
sudo mkdir -p /etc/containers
echo -e "[registries.search]\nregistries = ['docker.io', 'quay.io']" | sudo tee /etc/containers/registries.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment