Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldemarmiesse authored Feb 10, 2022
2 parents 2ee00b5 + 01115d6 commit 771f74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_on_whales/components/system/cli_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def prune(self, all: bool = False, volumes: bool = False, filters: Dict[str, str
](https://docs.docker.com/engine/reference/commandline/system_prune/#filtering).
For example, `filters=dict(until="24h")`.
"""
full_cmd = self.docker_cmd + ["system", "prune"]
full_cmd = self.docker_cmd + ["system", "prune", "--force"]
full_cmd.add_flag("--all", all)
full_cmd.add_flag("--volumes", volumes)
full_cmd.add_args_list("--filter", format_dict_for_cli(filters))
Expand Down

0 comments on commit 771f74e

Please sign in to comment.