mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Remove orphan containers on local start
This commit is contained in:
parent
ed47177ca5
commit
98c24ee243
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user