From cdac817e591507a38070817f1354305faf7aa2b4 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 16 Jul 2016 15:36:57 +0200 Subject: [PATCH] sabayondevkit-functions: trying softly to start docker daemon --- sabayondevkit-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sabayondevkit-functions.sh b/sabayondevkit-functions.sh index 63ac2bf..2ca128e 100644 --- a/sabayondevkit-functions.sh +++ b/sabayondevkit-functions.sh @@ -4,7 +4,7 @@ check_docker_requirements(){ if [ "$(id -u)" != "0" ]; then groups | grep -q docker || echo "--> If you are not running the script as root, your user should be in the docker group to use it. (sudo gpasswd -a $USER docker)" fi - ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) of configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && sudo systemctl start docker + ps aux | grep -q '[d]ocker' || echo "--> Be sure to have the docker daemon running (sudo systemctl start docker) of configure it to run on boot (sudo systemctl enable docker). Trying to start it anyway" && sudo systemctl start docker || true } die() { echo "$@" 1>&2 ; exit 1; }