Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu, Windows] Docker Compose v1 will be removed from images on April, 1 #9557

Closed
6 of 12 tasks
Assignees
Labels
Announcement awaiting-deployment Code complete; awaiting deployment and/or deployment in progress OS: Ubuntu OS: Windows

Comments

@mikhailkoliada
Copy link
Contributor

Breaking changes

Docker compose v1 will be removed from Ubuntu & Windows images.

Target date

The images rollout process will start on April, 1 and take 3-4 days.

The motivation for the changes

Docker compose v1 has been deprecated since July 2023 and customers are encouraged to migrate to v2, apart from that, as per our support policy it has been more that 6 months since the deprecation announcement so we would like to finally remove it.

Possible impact

If your pipelines or workflows still depend on docker compose v1 they might be broken.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

The last release of the v1 branch is still available on GitHub and can be downloaded and installed manually in runtime for both Ubuntu and Windows.

@mikhailkoliada mikhailkoliada self-assigned this Mar 25, 2024
@mikhailkoliada mikhailkoliada pinned this issue Mar 25, 2024
@mikhailkoliada mikhailkoliada added the awaiting-deployment Code complete; awaiting deployment and/or deployment in progress label Mar 25, 2024
xmunoz added a commit to DARIAEngineering/dcaf_case_management that referenced this issue Apr 2, 2024
v1 is now deprecated on the default github actions runners
actions/runner-images#9557
github-merge-queue bot pushed a commit to smithy-lang/smithy-rs that referenced this issue Apr 2, 2024
## Motivation and Context
- actions/runner-images#9557
- https://docs.docker.com/compose/migrate/

## Description
It seems like they should be drop-in compatible for our use case.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
@Loki-Afro
Copy link

@mikhailkoliada

from https://docs.docker.com/compose/migrate/

With Docker Desktop, Compose V2 is always accessible as docker compose. Additionally, the Use Compose V2 setting is turned on by default, which provides an alias from docker-compose.

will you provide such an alias as well? as this is basically the breaking point for a lot of projects :)

TroyWalshProf added a commit to OpenMAQS/openmaqs-dotnet that referenced this issue Aug 11, 2024
rebkwok added a commit to opensafely-core/job-runner that referenced this issue Aug 12, 2024
docker compose v1 has been deprecated by Github
actions/runner-images#9557
rebkwok added a commit to ebmdatalab/bennettbot that referenced this issue Aug 12, 2024
docker compose v1 has been deprecated by Github
actions/runner-images#9557
rebkwok added a commit to opensafely-core/job-runner that referenced this issue Aug 12, 2024
docker compose v1 has been deprecated by Github
actions/runner-images#9557
TroyWalshProf added a commit to OpenMAQS/openmaqs-dotnet that referenced this issue Aug 18, 2024
* Stop using docker V1 per: actions/runner-images#9557
* Update to new tool location
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Aug 19, 2024
Azure Pipelines started to roll 20240401.4 Ubuntu image that doesn't
include docker-compose v1:

https://github.com/actions/runner-images/blob/ubuntu20/20240401.4/images/ubuntu/Ubuntu2004-Readme.md

See actions/runner-images#9557

Compose V1 to V2 migration guide:

https://docs.docker.com/compose/migrate/

Fixes: https://pagure.io/freeipa/issue/9566
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Aug 19, 2024
Azure Pipelines started to roll 20240401.4 Ubuntu image that doesn't
include docker-compose v1:

https://github.com/actions/runner-images/blob/ubuntu20/20240401.4/images/ubuntu/Ubuntu2004-Readme.md

See actions/runner-images#9557

Compose V1 to V2 migration guide:

https://docs.docker.com/compose/migrate/

Fixes: https://pagure.io/freeipa/issue/9566
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Aug 20, 2024
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Aug 22, 2024
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Aug 23, 2024
Azure Pipelines started to roll 20240401.4 Ubuntu image that doesn't
include docker-compose v1:

https://github.com/actions/runner-images/blob/ubuntu20/20240401.4/images/ubuntu/Ubuntu2004-Readme.md

See actions/runner-images#9557

Compose V1 to V2 migration guide:

https://docs.docker.com/compose/migrate/

Fixes: https://pagure.io/freeipa/issue/9566
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
nils-wisiol added a commit to desec-io/desec-stack that referenced this issue Aug 30, 2024
This change is necessary as docker-compose is depricated since July
2023 and GitHub removed docker-compose from their action runner
images on 1 Apr 2024.

More info: actions/runner-images#9557
nils-wisiol added a commit to desec-io/desec-stack that referenced this issue Aug 30, 2024
This change is necessary as docker-compose is depricated since July
2023 and GitHub removed docker-compose from their action runner
images on 1 Apr 2024.

More info: actions/runner-images#9557
pavoljuhas added a commit to pavoljuhas/qsim that referenced this issue Sep 4, 2024
Recent GHA runner images require docker-compose v2.

Ref: actions/runner-images#9557
abraithwaite added a commit to runreveal/kawa that referenced this issue Sep 4, 2024
stanislavlevin added a commit to stanislavlevin/freeipa that referenced this issue Sep 9, 2024
peterthomassen pushed a commit to desec-io/desec-stack that referenced this issue Sep 9, 2024
This change is necessary as docker-compose is depricated since July
2023 and GitHub removed docker-compose from their action runner
images on 1 Apr 2024.

More info: actions/runner-images#9557
peterthomassen pushed a commit to desec-io/desec-stack that referenced this issue Sep 9, 2024
This change is necessary as docker-compose is depricated since July
2023 and GitHub removed docker-compose from their action runner
images on 1 Apr 2024.

More info: actions/runner-images#9557
peterthomassen pushed a commit to desec-io/desec-stack that referenced this issue Sep 9, 2024
This change is necessary as docker-compose is depricated since July
2023 and GitHub removed docker-compose from their action runner
images on 1 Apr 2024.

More info: actions/runner-images#9557
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment