Skip to content

Commit

Permalink
Use docker compose v2 by default (#729)
Browse files Browse the repository at this point in the history
Enable docker-compose v2 by default, since it's present in internal and external circle
  • Loading branch information
mswintermeyer authored Mar 29, 2023
1 parent 93f7cb9 commit f6395ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-729.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: break
break:
description: Enable docker-compose v2 by default
links:
- https://github.com/palantir/docker-compose-rule/pull/729
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void removeConflictingContainersOnStartup_off_should_fail_fast_if_contain
try {
composition.before();
exception.expect(DockerExecutionException.class);
exception.expectMessage("'docker-compose up -d' returned exit code");
exception.expectMessage("'docker compose up -d' returned exit code");
conflictingComposition.before();
} finally {
composition.after();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public DockerComposeExecutable dockerComposeExecutable() {

@Value.Default
public boolean useDockerComposeV2() {
return false;
return true;
}

@Value.Default
Expand Down

0 comments on commit f6395ff

Please sign in to comment.