add podman installation
This commit is contained in:
parent
76655b4646
commit
84b0b2ae20
2 changed files with 15 additions and 1 deletions
12
install-stuff/install-podman.sh
Executable file
12
install-stuff/install-podman.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue