configs/install-stuff/install-podman.sh
2025-01-17 07:24:35 -06:00

12 lines
345 B
Bash
Executable file

#!/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