Last active
December 1, 2024 23:39
-
-
Save AndreAugustoDev/e741b0892fd2fdceb78fc5f078e895ff 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
#!/bin/sh | |
# Download the statically linked binaries of podman and its dependencies | |
curl -fsSL -o podman-linux-arm64.tar.gz https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-arm64.tar.gz | |
# Verify the archive's signature (optional) | |
curl -fsSL -o podman-linux-arm64.tar.gz.asc https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-arm64.tar.gz.asc | |
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0CCF102C4F95D89E583FF1D4F8B5AF50344BB503 | |
gpg --batch --verify podman-linux-arm64.tar.gz.asc podman-linux-arm64.tar.gz | |
# Install the binaries and configuration on your host after you've inspected the archive | |
tar -xzf podman-linux-arm64.tar.gz | |
sudo cp -r podman-linux-arm64/usr podman-linux-arm64/etc / | |
# Support applications that rely on the docker command, a quick option is to link podman as follows | |
sudo ln -s /usr/local/bin/podman /usr/local/bin/docker | |
# Restart containers with restart-policy=always on boot, enable the podman-restart systemd service | |
systemctl enable podman-restart |
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
#!/bin/sh | |
# Download the statically linked binaries of podman and its dependencies | |
curl -fsSL -o podman-linux-amd64.tar.gz https://github.com/mgoltzsche/podman-static/releases/latest/download/podman-linux-amd64.tar.gz | |
# Verify the archive's signature (optional) | |
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 | |
# Install the binaries and configuration on your host after you've inspected the archive | |
tar -xzf podman-linux-amd64.tar.gz | |
sudo cp -r podman-linux-amd64/usr podman-linux-amd64/etc / | |
# Support applications that rely on the docker command, a quick option is to link podman as follows | |
sudo ln -s /usr/local/bin/podman /usr/local/bin/docker | |
# Restart containers with restart-policy=always on boot, enable the podman-restart systemd service | |
systemctl enable podman-restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment