ic-labs / django-icekit

GLAMkit is a next-generation Python CMS by the Interaction Consortium, designed especially for the cultural sector.
http://glamkit.com
MIT License
47 stars 11 forks source link

Command docker-compose build --pull fails #231

Open FlorinTar opened 7 years ago

FlorinTar commented 7 years ago

Here's the error: ERROR: In file './docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

jmurty commented 7 years ago

Hi @FlorinTar which version of docker-compose are you using?

FWIW we are using version 1.13.0 internally, as is included with Docker for Mac.

Here is my version info:

$ docker-compose version

docker-compose version 1.13.0, build 1719ceb
docker-py version: 2.2.1
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016

Googling for this issue tends to lead to people recommending upgrading docker-compose to newer versions, which doesn't quite square with the fact we are using a pretty old version (1.13) successfully. But it's worth a try.

jmurty commented 7 years ago

To clarify @FlorinTar docker-compose version 1.13.0 is the latest, per https://github.com/docker/compose/releases

FlorinTar commented 7 years ago

Hi, I have what's downstream in the Ubuntu repositories. $ docker-compose version docker-compose version 1.8.0, build unknown docker-py version: 1.9.0 CPython version: 2.7.12 OpenSSL version: OpenSSL 1.0.2g 1 Mar 2016