Hello again,
After successfully ran the "deploy" command for a "devenv [DE-container]" modality (based in docker container) I tried to start the containers using "docker-compose" command.
It fails with error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ sudo docker-compose ps
ERROR: Version in "/home/supervisor/omnileads/devenv/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") 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/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
It is curious that the installation process finished successfully (apparently) but no docker, or docker-compose packages have been installed during that process.
My system is a CentOS 7 Minimal, without any docker package installed.
I had to install the docker and docker-compose rpm packages manually, but when I ran (as a sudo user) the above command it says the docker-compose yaml version file is not supported.
Any idea to fix it?
Regards,
Alfredo