Add scripts for installing docker
This commit is contained in:
parent
21fa6708d7
commit
15e725ffaf
3 changed files with 35 additions and 0 deletions
scripts/Common/Software/docker
15
scripts/Common/Software/docker/main.fish
Executable file
15
scripts/Common/Software/docker/main.fish
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue