Remove orphaned containers

This commit is contained in:
jpk 2023-02-15 16:32:40 +01:00
parent 790e01866f
commit 58423ede92
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ def update(ctx, service, remove):
(f"Starting {service}", ["up", "-d"]),
]
if remove:
command_chain.insert(0, (f"Stopping {service}", ["down"]))
command_chain.insert(0, (f"Stopping {service}", ["down", "--remove-orphans"]))
for title, command in command_chain:
output.print_header(ctx, title)
docker_compose_command(command, compose_file)

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "doxy"
version = "0.5.0"
version = "0.5.1"
description = ""
authors = ["jpk <jpk@goatpr0n.de>"]
readme = "README.md"