I try to install this docker-compose configuration. As you can see, it has version 3.
When I run this with docker-compose build --pull
, I got this error:
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/
If I remove version from .yml, then I get such error:
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for volumes: 'conf.d'
Unsupported config option for services: 'letsencrypt-companion'
Unsupported config option for networks: 'proxy-tier'
After reading documentation my first thoughts was about version incompatibility. So I've updated docker to 17.9.1-ce
.
And here is version of docker-compose
:
docker-compose version 1.8.0, build unknown
But errors are the same and I really have no idea about this. Operation System: Ubuntu 17.10.