We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69221b commit 12a9e77Copy full SHA for 12a9e77
cwltool-in-docker.sh
@@ -1,5 +1,5 @@
1
#!/bin/sh
2
-if [ -S /var/run/docker.sock ] && [ -z "$DOCKER_HOST" ]; then
+if ! [ -S /var/run/docker.sock ] && [ -z "$DOCKER_HOST" ]; then
3
>&2 echo 'ERROR: cwltool cannot work inside a container without access to docker'
4
>&2 echo 'Launch the container with the option -v /var/run/docker.sock:/var/run/docker.sock'
5
# shellcheck disable=SC2016
0 commit comments