msanand / docker-workflow

Sample docker workflow with Node.js, Redis and NGiNX
http://anandmanisankar.com/posts/docker-container-nginx-node-redis-example/
397 stars 147 forks source link

client and server don't have same version (client : 1.19, server: 1.18) #7

Closed sebicas closed 9 years ago

sebicas commented 9 years ago

Running it on CircleCI give me this error:

$docker-compose run -d --no-deps node1

client and server don't have same version (client : 1.19, server: 1.18) docker-compose run -d --no-deps node1 returned exit code 1

You can check on: https://circleci.com/gh/sebicas/docker-workflow/1

Any ideas of what can be done?

sebicas commented 9 years ago

I was able to fix the build by adding COMPOSE_API_VERSION to the environment,

# Enviroment Vars
environment:
  COMPOSE_API_VERSION: 1.18

https://circleci.com/gh/sebicas/docker-workflow/7