Remove orphan containers on `local start`

This commit is contained in:
Régis Behmo 2019-03-18 23:03:45 +01:00
parent ed47177ca5
commit 98c24ee243
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## Latest
- [Improvement] Remove orphan containers on `local start`
## 3.2.0 (2019-03-18)
- [Improvement] `images pull` now also pulls vendor images

View File

@ -54,7 +54,7 @@ def pullimages(root):
@opts.root
@click.option("-d", "--detach", is_flag=True, help="Start in daemon mode")
def start(root, detach):
command = ["up"]
command = ["up", "--remove-orphans"]
if detach:
command.append("-d")
docker_compose(root, *command)