#1531, but needs testing

This commit is contained in:
Marco Ochse
2024-05-02 13:43:16 +02:00
parent 775bc2c1dd
commit caca93f3a0
2 changed files with 18 additions and 15 deletions

View File

@ -165,14 +165,14 @@ if [ "${myOSTYPE}" == "linuxkit" ] && [ "${TPOT_OSTYPE}" == "linux" ];
echo "# Aborting."
echo
exit 1
else
if ! [ -S /var/run/docker.sock ];
then
echo "# Cannot access /var/run/docker.sock, check docker-compose.yml for proper volume definition."
echo
echo "# Aborting."
exit 1
fi
fi
if ! [ "${myOSTYPE}" == "linuxkit" ] && ! [ -S /var/run/docker.sock ];
then
echo "# Cannot access /var/run/docker.sock, check docker-compose.yml for proper volume definition."
echo
echo "# Aborting."
exit 1
fi
# Validate environment variables
@ -350,5 +350,6 @@ if [ "${myOSTYPE}" != "linuxkit" ];
else
echo
echo "# Docker Desktop for macOS or Windows detected, Conntrack feature is not supported."
echo
echo
sleep infinity
fi