Remove orphaned containers
This commit is contained in:
parent
790e01866f
commit
58423ede92
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue