Always check ischroot to be sure docker is started
This commit is contained in:
@@ -372,7 +372,7 @@ if ! [[ -x "$(command -v docker-compose)" ]]; then
|
|||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $START && [[ -x "$(command -v ischroot)" ]] && ischroot; then
|
if [[ -x "$(command -v ischroot)" ]] && ischroot; then
|
||||||
echo "chroot detected, running dockerd in background..."
|
echo "chroot detected, running dockerd in background..."
|
||||||
dockerd &
|
dockerd &
|
||||||
echo "Waiting /var/run/docker.sock to be created..."
|
echo "Waiting /var/run/docker.sock to be created..."
|
||||||
|
|||||||
Reference in New Issue
Block a user