Skip to content

Instantly share code, notes, and snippets.

@nordineb
Created May 3, 2023 19:15
Show Gist options
  • Save nordineb/a54e99fad8d657a12df6a95dae698747 to your computer and use it in GitHub Desktop.
Save nordineb/a54e99fad8d657a12df6a95dae698747 to your computer and use it in GitHub Desktop.
buildah & podman / ubuntu 20.04
sudo apt-get install -y wget ca-certificates gnupg2
VERSION_ID=$(lsb_release -r | cut -f2)
echo "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel-kubic-libcontainers-stable.list
curl -Ls https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_$VERSION_ID/Release.key | sudo apt-key add -
sudo apt-get update
sudo apt install buildah podman -y
sudo usermod --add-subgids 10000-75535 $LOGNAME
sudo usermod --add-subuids 10000-75535 $LOGNAME
podman system migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment