django-icekit icon indicating copy to clipboard operation
django-icekit copied to clipboard

Command docker-compose build --pull fails

Open FlorinTar opened this issue 7 years ago • 3 comments

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.

FlorinTar avatar Apr 21 '17 13:04 FlorinTar

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 avatar May 15 '17 04:05 jmurty

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

jmurty avatar May 15 '17 06:05 jmurty

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

FlorinTar avatar May 15 '17 19:05 FlorinTar