Use curl to wait for docker to be up on circleci…
… <3 @emilevauge :D Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
ecbfbd4de0
commit
c088fdefa1
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ machine:
|
||||||
pre:
|
pre:
|
||||||
- sudo docker -d -e lxc -s btrfs -H tcp://0.0.0.0:2375:
|
- sudo docker -d -e lxc -s btrfs -H tcp://0.0.0.0:2375:
|
||||||
background: true
|
background: true
|
||||||
- sleep 5
|
- curl --retry 15 --retry-delay 3 -v http://172.17.42.1:2375/version
|
||||||
environment:
|
environment:
|
||||||
REPO: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
REPO: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
|
||||||
DOCKER_HOST: tcp://172.17.42.1:2375
|
DOCKER_HOST: tcp://172.17.42.1:2375
|
||||||
|
|
Loading…
Reference in a new issue