Check docker.sock before printing docker version
This commit is contained in:
parent
292a0026ed
commit
b2fe6695a0
1 changed files with 3 additions and 3 deletions
|
|
@ -26,9 +26,6 @@ if [ ! -x .ci-bin/docker-compose ]; then
|
|||
chmod +x .ci-bin/docker-compose
|
||||
fi
|
||||
|
||||
.ci-bin/docker version
|
||||
.ci-bin/docker-compose version
|
||||
|
||||
DOCKER=./.ci-bin/docker
|
||||
COMPOSE=./.ci-bin/docker-compose
|
||||
if ! $DOCKER version >/dev/null 2>&1; then
|
||||
|
|
@ -44,6 +41,9 @@ if ! $DOCKER version >/dev/null 2>&1; then
|
|||
fi
|
||||
fi
|
||||
|
||||
$DOCKER version
|
||||
$COMPOSE version
|
||||
|
||||
sed '/exclude_from_hc:/d' docker-compose.yml > dist/docker-compose.coolify.yml
|
||||
$COMPOSE -f dist/docker-compose.coolify.yml config -q
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue