if [ -z "$COMPOSE_DISABLE_DOCKER_COMPOSE_STORE" ]; then
if [ -z "$COMPOSE_DISABLE_DOCKER_COMPOSE_STORE" ]; then
cd "/var/lib/compose/docker-compose/$sha/$project"
cd "/var/lib/compose/docker-compose/$sha/$project" || return 1
else
else
cd "$docker_compose_dir"
cd "$docker_compose_dir" || return 1
fi
fi
if [ -f ".env" ]; then
if [ -f ".env" ]; then
debug "${WHITE}.env$NORMAL for $DARKYELLOW$SERVICE_PACK$NORMAL:"
debug "${WHITE}.env$NORMAL for $DARKYELLOW$SERVICE_PACK$NORMAL:"
@ -3222,7 +3222,7 @@ launch_docker_compose() {
} | _save stdout
} | _save stdout
} 3>&1 1>&2 2>&3 | _save stderr
} 3>&1 1>&2 2>&3 | _save stderr
} 3>&1 1>&2 2>&3
} 3>&1 1>&2 2>&3
if tail -n 1 "$docker_compose_dir/.data/stderr" | egrep "Service .+ failed to build: Error getting container [0-9a-f]+ from driver devicemapper: (open|Error mounting) /dev/mapper/docker-.*: no such file or directory$" >/dev/null 2>&1; then
if tail -n 1 "$docker_compose_dir/.data/stderr" | grep -E "Service .+ failed to build: Error getting container [0-9a-f]+ from driver devicemapper: (open|Error mounting) /dev/mapper/docker-.*: no such file or directory$" >/dev/null 2>&1; then