Skip to content

Commit dfb6fd3

Browse files
authored
Use docker compose v2 by default everywhere (#744)
1 parent 0c8e054 commit dfb6fd3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

changelog/@unreleased/pr-744.v2.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
type: fix
2+
fix:
3+
description: Use Docker Compose v2 by default when constructing a `DockerComposeExecutable`
4+
explicitly.
5+
links:
6+
- https://github.com/palantir/docker-compose-rule/pull/744

docker-compose-rule-core/src/main/java/com/palantir/docker/compose/execution/DockerComposeExecutable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected List<String> dockerComposePath() {
108108

109109
@Value.Default
110110
public boolean useDockerComposeV2() {
111-
return false;
111+
return true;
112112
}
113113

114114
@Override

0 commit comments

Comments
 (0)