Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(cli): change docker nuke to also remove stopped containers
  • Loading branch information
hsheth2 committed Jul 2, 2021
commit 4401fa4b524619ae8667496ae7fe85438f4abedc
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def nuke() -> None:

click.echo("Removing containers in the datahub project")
for container in client.containers.list(
filters={"label": "com.docker.compose.project=datahub"}
all=True, filters={"label": "com.docker.compose.project=datahub"}
):
container.remove(v=True, force=True)

Expand Down