Closed fenech closed 5 years ago
These two lines were removed from the example in the README:
source /docker-lib.sh start_docker
But without them, any calls to docker functions cause the following error:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Since the entrypoint.sh script isn't used when a concourse task is run, these lines need to be in the task script.
entrypoint.sh
Good catch, thanks.
Also, since the docker-lib.sh script now has bash dependencies (e.g. declare), I think that the example should use bash, not sh.
docker-lib.sh
bash
declare
sh
Opened #16
These two lines were removed from the example in the README:
But without them, any calls to docker functions cause the following error:
Since the
entrypoint.sh
script isn't used when a concourse task is run, these lines need to be in the task script.