I am trying to test this project https://github.com/saan099/sawtooth-test
But while executing docker-compose up command I found this problem:
ERROR: Version in "./docker-compose.yaml" 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/
I have tried to change with another version but I still have the same problem. I would be very grateful please if you could help me please.
Those are my docker version and my docker-composer version:
>>> ~/sawtooth-test $ docker --version
Docker version 1.13.1, build 092cba3
>>> ~/sawtooth-test $ 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
But when I put this docker-compose --version
>>> ~/sawtooth-test $ docker version
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.6.2
Git commit: 092cba3
Built: Thu Nov 2 20:40:23 2017
OS/Arch: linux/amd64
>>> ~/sawtooth-test $ docker-compose --version
docker-compose version 1.8.0, build unknown
Thank you in advance.