From ff9fb250a226afccf416c61779c388133480b1c1 Mon Sep 17 00:00:00 2001 From: mudler Date: Tue, 9 Feb 2016 01:05:29 +0100 Subject: [PATCH] try to start docker if not running (it will save a lot of pandas) --- sabayondevkit-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sabayondevkit-functions.sh b/sabayondevkit-functions.sh index e7c6be1..3fad52e 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)" + 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 } build() {