Created
March 10, 2022 22:29
-
-
Save juliusl/50a3da4ba8904659b862018d2324793c to your computer and use it in GitHub Desktop.
Install podman for WSL2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${NAME}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" | |
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${NAME}_${VERSION_ID}/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