configs/install-stuff/install-podman.sh
askiiart 7d072df618
fix mistakes and remove vesktop
* fix dnf enable docker lol
* accidentally committed restore.sh being commented out temporarily
* remove vesktop (obviously)
2025-02-24 17:31:59 -06:00

21 lines
574 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 remove podman podman-docker -y
sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce{,-cli,-rootless-extras}
# rootless
sudo dnf install fuse-overlayfs
sudo sh -eux <<EOF
# Load ip_tables module
modprobe ip_tables
EOF
dockerd-rootless-setuptool.sh install
fi