JulienPeloton / mini_spark_broker

Design and proof-of-concept for a Broker for astronomy using Apache Spark
Apache License 2.0
3 stars 2 forks source link

docker-compose from apt-get is out-of-date #13

Open JulienPeloton opened 5 years ago

JulienPeloton commented 5 years ago

I recently noticed on e.g. recent Ubuntu versions that apt-get installs super old version of docker-compose and therefore should not be used. Instead Linux users should follow the installation procedure explained in the docker-compose documentation: https://docs.docker.com/compose/install/

For macos users no difficulty however, docker-compose is packaged with the Docker Desktop for Mac and Docker Toolbox.

JulienPeloton commented 5 years ago

Actually, if you see this error message:

ERROR: Version in "./docker-compose.yml" is unsupported. 
You might be seeing this error because you're using the wrong Compose file version. 
Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, 
or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

you are using a too old version of docker-compose.