GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Migrate to Docker Compose v2 by pan3793 · Pull Request #260 · testcontainers/testcontainers-scala

Conversation

@pan3793

@pan3793 pan3793 commented Aug 28, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR requires #259 to get merged first.

Close #200

This PR aims to migrate to the backend of com.dimafeng.testcontainers.DockerComposeContainer from Docker Compose V1 (a.k.a docker-compose) to the Docker Compose V2 (a.k.a docker compose)

See more details at testcontainers/testcontainers-java#5608

From July 2023 Compose V1 stopped receiving updates. It’s also no longer available in new releases of Docker Desktop.

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

Compose V1 actually reached EOL, and Compose V2 has been adopted for a long time, so I suppose the change won't break user experience.

Before this PR, docker-compose is necessary for launching compose files.
After this PR, all tests passed without docker-compose but only docker commands

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pan3793
Migrate to Docker Compose v2
5901a5f
@pan3793
pan3793 force-pushed the compose-v2 branch from 6228657 to 5901a5f Compare August 28, 2023 15:25
@pan3793

pan3793 commented Aug 28, 2023

Copy link
Copy Markdown
Contributor Author

@dimafeng I have rebased on the latest master, would you mind taking a look? thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dimafeng
dimafeng merged commit 5ef3fe0 into testcontainers:master Aug 29, 2023
@pan3793

pan3793 commented Aug 29, 2023

Copy link
Copy Markdown
Contributor Author

@dimafeng, thanks, and would be nice if you can trigger a release 😄

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dimafeng

dimafeng commented Aug 29, 2023

Copy link
Copy Markdown
Collaborator

released 🎉

pan3793 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pan3793

pan3793 commented Aug 29, 2023

Copy link
Copy Markdown
Contributor Author

nice! thank you @dimafeng

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pan3793 pan3793 mentioned this pull request Aug 29, 2023
Build: Bump testcontainers-scala 0.41.0 to support Docker Compose v2 ClickHouse/spark-clickhouse-connector#271
Merged
@maizy maizy mentioned this pull request Aug 6, 2024
Update zio-testcontainers to support docker compose V2 zio/zio-redis#985
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

ContainerLaunchException with Docker Compose V2

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@pan3793 @dimafeng
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.