Created
May 23, 2024 13:47
-
-
Save nightscape/78b5eb4238bb301c390597cfe583eb68 to your computer and use it in GitHub Desktop.
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
# Install Podman static from https://github.com/mgoltzsche/podman-static | |
curl -fsSL -o podman-linux-amd64.tar.gz https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-amd64.tar.gz | |
curl -fsSL -o podman-linux-amd64.tar.gz.asc https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-amd64.tar.gz.asc | |
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0CCF102C4F95D89E583FF1D4F8B5AF50344BB503 | |
gpg --batch --verify podman-linux-amd64.tar.gz.asc podman-linux-amd64.tar.gz | |
tar -xzf podman-linux-amd64.tar.gz | |
sudo cp -r podman-linux-amd64/usr podman-linux-amd64/etc / | |
sudo ln -s /usr/local/bin/podman /usr/local/bin/docker | |
sudo sh -c "echo $(id -un):100000:200000 >> /etc/subuid" | |
sudo sh -c "echo $(id -gn):100000:200000 >> /etc/subgid" | |
sudo apt install uidmap | |
# Install latest docker-compose | |
sudo curl -L "https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-$(uname -s | tr [:upper:] [:lower:])-$(uname -m)" -o /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment