Skip to content

Commit

Permalink
fix docker remove command when not pruning volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
khoaguin committed Sep 29, 2023
1 parent fc719f1 commit 309aab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hagrid/hagrid/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3159,7 +3159,7 @@ def create_land_cmd(verb: GrammarVerb, kwargs: TypeDict[str, Any]) -> str:
land_cmd += "$(docker volume ls --filter label=orgs.openmined.syft -q)"
return land_cmd
else:
return "docker rm `docker ps -aq` --force"
return "docker rm `docker ps --filter label=orgs.openmined.syft -q` --force"

version = check_docker_version()
if version:
Expand Down

0 comments on commit 309aab8

Please sign in to comment.