Skip to content

Commit b97fa6d

Browse files
committed
fix: docker compose without hyphen
1 parent 6b232d9 commit b97fa6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/cluster/compose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def deploy_compose(params=None):
156156

157157
print(f"[Compose] Starting project {project_name} in {tmp_dir}...")
158158
subprocess.run(
159-
["docker-compose", "-p", project_name, "up", "-d"],
159+
["docker", "compose", "-p", project_name, "up", "-d"],
160160
cwd=tmp_dir,
161161
check=True,
162162
capture_output=True,
@@ -210,7 +210,7 @@ def cleanup_compose(setup_data):
210210
"""Stop and clean up Docker Compose project."""
211211
print(f"[Compose] Stopping project {setup_data['project_name']}...")
212212
subprocess.run(
213-
["docker-compose", "-p", setup_data["project_name"], "down", "-v"],
213+
["docker", "compose", "-p", setup_data["project_name"], "down", "-v"],
214214
cwd=setup_data["tmp_dir"],
215215
check=True,
216216
capture_output=True,

0 commit comments

Comments
 (0)