-
-
Save k3wals/84ed49a02cee61ab708a0c9730099363 to your computer and use it in GitHub Desktop.
Update podman to 4.3.1 on Ubuntu 22.04 jammy, as well as conmon and crun
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
#! /usr/bin/env bash | |
set -euo pipefail | |
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main universe' > /etc/apt/sources.list.d/lunar.list | |
cat > /etc/apt/preferences.d/podman.pref << EOF | |
Package: podman conmon crun buildah golang-github-containers-common libsubid4 netavark | |
Pin: release n=lunar | |
Pin-Priority: 990 | |
Package: * | |
Pin: release n=lunar | |
Pin-Priority: -10 | |
EOF | |
apt update | |
apt install buildah podman conmon crun -y | |
# note | |
# following the update, you'll probably have to append the below | |
# to your local config, or your global config | |
# local: ~/.config/containers/storage.conf | |
# global: /etc/containers/storage.conf | |
#[storage] | |
#driver = "overlay" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment