Add scripts for installing docker

This commit is contained in:
Manuel Thalmann 2024-09-20 07:25:03 +02:00
parent 7f94251b08
commit 0f1b7ba58a
3 changed files with 35 additions and 0 deletions

View file

@ -266,6 +266,7 @@ function deploySoftware -d "Deploys a the specified software action" -a action
end end
and source "$dir/../Software/n/main.fish" $argv and source "$dir/../Software/n/main.fish" $argv
and source "$dir/../Software/docker/main.fish" $argv
end end
and if collectionActive python and if collectionActive python

View file

@ -0,0 +1,19 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function installSW
yayinst \
docker \
docker-compose \
docker-buildx \
docker-scan
end
function configureSW -V dir
fish "$dir/../../../Common/Software/docker/main.fish" configure
end
runInstaller $argv
end

View file

@ -0,0 +1,15 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function configureSW -V dir
sudo systemctl enable --now docker
end
function userConfig -a name
sudo usermod -aG docker "$name"
end
runInstaller $argv
end