When I try docker-compose up, I get the following message:
ERROR: In file ‘./docker-compose.yml’ service ‘version’ doesn’t have any configuration options. All top level keys in you docker-compose.yml must map to a dictionary of configuration options.
Thank you very much for your support. I’m on Ubuntu 16.04 as it say in the original post. I couldn’t run docker-compose config --services.I got a message, No such command: config
with a list of commands below such as bhuild, help, kill etc.
This means that the version of docker-compose you have on Ubuntu is not of a high enough version.
If you look at the docker-compose release page: Release 1.12.0 · docker/compose · GitHub and run the commands listed there, then that should be upgraded and you’ll be able to run docker-compose up -d