mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-15 17:47:13 +00:00
Remove orphan containers on local start
This commit is contained in:
parent
ed47177ca5
commit
98c24ee243
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Latest
|
||||||
|
|
||||||
|
- [Improvement] Remove orphan containers on `local start`
|
||||||
|
|
||||||
## 3.2.0 (2019-03-18)
|
## 3.2.0 (2019-03-18)
|
||||||
|
|
||||||
- [Improvement] `images pull` now also pulls vendor images
|
- [Improvement] `images pull` now also pulls vendor images
|
||||||
|
@ -54,7 +54,7 @@ def pullimages(root):
|
|||||||
@opts.root
|
@opts.root
|
||||||
@click.option("-d", "--detach", is_flag=True, help="Start in daemon mode")
|
@click.option("-d", "--detach", is_flag=True, help="Start in daemon mode")
|
||||||
def start(root, detach):
|
def start(root, detach):
|
||||||
command = ["up"]
|
command = ["up", "--remove-orphans"]
|
||||||
if detach:
|
if detach:
|
||||||
command.append("-d")
|
command.append("-d")
|
||||||
docker_compose(root, *command)
|
docker_compose(root, *command)
|
||||||
|
Loading…
Reference in New Issue
Block a user