Answered
My Macbook Pro is running Monterey 12.3.
How can I get the current version number for Docker Compose that's running on my machine?
Is this possible to do using the command line? Or is some other way?
Thanks for the help in advance!
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.
docker-compose -v
also works the same as the command with the --version
flag option.