docker: enable on-demand rather than aggressively

This commit is contained in:
Henrik Lissner 2016-12-24 19:14:40 -05:00
parent 07ba428f50
commit 4b73942d6c
2 changed files with 1 additions and 2 deletions

View file

@ -5,6 +5,7 @@ case "$OSTYPE" in
;;
linux*)
alias docker='sudo docker'
alias dki='sudo systemctl start docker.service'
;;
esac

View file

@ -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