add podman installation

This commit is contained in:
askiiart 2025-01-17 07:24:35 -06:00
parent 76655b4646
commit 84b0b2ae20
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 15 additions and 1 deletions

12
install-stuff/install-podman.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
command_exists() { type "$1" &>/dev/null; }
if command_exists "dnf"; then
sudo dnf install podman -y
systemctl enable --now --user podman
# install docker-compose
sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-compose
fi