Get the current version of Docker Compose installed on my macOS machine?

nick asked this question 28 days ago
nick 28 days ago

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!

2 suggested answers
timmy123 9 days ago

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.

0 replies
yaboy01 9 days ago

docker-compose -v also works the same as the command with the --version flag option.

0 replies