docker: enable on-demand rather than aggressively
This commit is contained in:
parent
07ba428f50
commit
4b73942d6c
|
@ -5,6 +5,7 @@ case "$OSTYPE" in
|
|||
;;
|
||||
linux*)
|
||||
alias docker='sudo docker'
|
||||
alias dki='sudo systemctl start docker.service'
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -8,7 +8,5 @@ case $OSTYPE in
|
|||
linux*)
|
||||
if [[ -f /etc/arch-release ]]; then
|
||||
sudo pacman --needed --noconfirm -S docker docker-compose
|
||||
sudo systemctl enable docker.service
|
||||
sudo systemctl start docker.service
|
||||
fi
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue