feat(quickstart): remove orphaned docker containers on quickstart through cli (#2748)

This commit is contained in:
John Joyce 2021-06-23 13:46:19 -07:00 committed by GitHub
parent 5a4d194bad
commit 8fc194717c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ def quickstart(
# Attempt to run docker-compose up every minute.
if (datetime.datetime.now() - start_time) > up_attempts * up_interval:
click.echo()
subprocess.run(base_command + ["up", "-d"])
subprocess.run(base_command + ["up", "-d", "--remove-orphans"])
up_attempts += 1
# Check docker health every few seconds.