GoogleCloudPlatform / GoogleCloudPlatform/cloud-builders

Docker builder image ships mismatching versions of docker compose

Open
#1,042 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
1.5k
Forks
616
PR merge metrics
No merged PRs in 30d

Description

## Notice

**If you are reporting an issue with the hosted Google Cloud Build service, please contact your Google Cloud Support representative or report your issue using [Google's public issue tracker](https://issuetracker.google.com/issues/new?component=190802&template=1162743).**

This GitHub issue tracker is intended for bugs with the officially supported builder images __only__. This issue tracker is __not__ the right place to report issues with triggers or notifications.

If you're not sure where to report your issue, use [Google's public issue tracker](https://issuetracker.google.com/issues/new?component=190802&template=1162743).

## Affected builder image

gcr.io/cloud-builders/docker

## Expected Behavior

There should only be one compose version installed. That is, both `docker-compose --version` and `docker compose version` commands should return the same version.

## Actual Behavior

There are two different versions of compose installed

* `docker-compose --version` returns `docker-compose version 1.25.0, build unknown`
* `docker compose version` returns `Docker Compose version v2.33.0`

## Steps to Reproduce the Problem

1. `docker-compose --version`
2. `docker compose version`

## Additional Info

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.