Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker daemon not started in concourse task (README example broken) #15

Closed
fenech opened this issue Jul 8, 2019 · 3 comments
Closed

Comments

@fenech
Copy link
Contributor

fenech commented Jul 8, 2019

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.

@meAmidos
Copy link
Owner

meAmidos commented Jul 8, 2019

Good catch, thanks.

@fenech
Copy link
Contributor Author

fenech commented Jul 8, 2019

Also, since the docker-lib.sh script now has bash dependencies (e.g. declare), I think that the example should use bash, not sh.

@fenech
Copy link
Contributor Author

fenech commented Jul 8, 2019

Opened #16

@meAmidos meAmidos closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants