If you execute this command:
docker-compose --version
It should output the version of the docker-compose
installed to your machine:
Docker Compose version 2.4.1
If docker-compose
isn't installed on your machine, you'll receive an error message instead.