
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. The recommended method for installing Docker Compose on CentOS 7 is by downloading the Compose binary from the Dockers GitHub repository.

My system is a CentOS 7 Minimal, without any docker package installed.

It is curious that the installation process finished successfully (apparently) but no docker, or docker-compose packages have been installed during that process. 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.įor more on the Compose file format versions, see Learn about security scanning and locking-down your NodeJS apps. Design NodeJS images for use with Kubernetes and Swarm. Get the best NodeJS tweaks to use for dev, test, and prod. Improve the speed and reliability of your Node builds and testing using Docker. I use it often to spin up a database container and a separate application container. Operate smoothly in a team of NodeJS developers using Docker and Compose.

compose is an instrument for running multiple docker containers on your local machine. You might be seeing this error because you're using the wrong Compose file version. In the video Docker Compose v2: What’s New in 2021: DevOps and Docker Live Show (Ep 126) Bret Fisher introduces compose v2. After successfully ran the "deploy" command for a "devenv " modality (based in docker container) I tried to start the containers using "docker-compose" command.
