CmdID / docker / docker compose
docker compose version
Show the Docker Compose version information Docker Compose reference
3 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--format, -fFormat the output.--shortShows only Compose's version number