switch to docker

This commit is contained in:
askiiart 2025-02-09 13:32:27 -06:00
parent 5265b76106
commit 91f2697bae
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

View file

@ -3,10 +3,19 @@
command_exists() { type "$1" &>/dev/null; }
if command_exists "dnf"; then
sudo dnf install podman -y
systemctl enable --now --user podman
#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
sudo dnf install docker-ce-cli docker-ce
sudo dnf enable --now docker
# rootless
sudo dnf install fuse-overlayfs
sudo sh -eux <<EOF
# Load ip_tables module
modprobe ip_tables
EOF
dockerd-rootless-setuptool.sh install
fi