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"]),
|
(f"Starting {service}", ["up", "-d"]),
|
||||||
]
|
]
|
||||||
if remove:
|
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:
|
for title, command in command_chain:
|
||||||
output.print_header(ctx, title)
|
output.print_header(ctx, title)
|
||||||
docker_compose_command(command, compose_file)
|
docker_compose_command(command, compose_file)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "doxy"
|
name = "doxy"
|
||||||
version = "0.5.0"
|
version = "0.5.1"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["jpk <jpk@goatpr0n.de>"]
|
authors = ["jpk <jpk@goatpr0n.de>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
Loading…
Reference in New Issue