Skip to content

Commit 5050411

Browse files
authored
Bugfix: docker-compose does not take --volume
1 parent 6378de5 commit 5050411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/docker_compose_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def _write_file_and_run_command(
3232
async def cleanup_containers_and_volumes(
3333
compose_spec: str, settings: DynamicSidecarSettings
3434
) -> None:
35-
command = 'docker-compose --project-name {project} --file "{file_path}" rm --force --volumes'
35+
command = 'docker-compose --project-name {project} --file "{file_path}" rm --force -v'
3636
result = await _write_file_and_run_command(
3737
settings=settings,
3838
file_content=compose_spec,

0 commit comments

Comments
 (0)