Recent CircleCI Docker upgrade to version 1.8.2 broke my build as that version is affected by this bug.
I’ve tried to downgrade to Docker 1.6.2 adding the following definition in my circle.yml
pre: - sudo curl -L -o /usr/bin/docker 'http://s3-external-1.amazonaws.com/circle-downloads/docker-1.6.2-circleci' && sudo chmod 0755 /usr/bin/docker
However my build hung reporting the following error message:
service docker start returned exit code 1
I suspect the Docker engine 1.8.2 command line isn’t backward compatible with 1.6.2 version, so it fails.
I’ve also tried to upgrade to latest 1.9.0-rc3 (with fixes the above docker issue). With this version the docker service starts and the build runs, however it fails with the following message:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
You can find more about this build at this link.
Any idea how I can solve this problem?