Skip to content

Commit

Permalink
feat(quickstart): remove orphaned docker containers on quickstart thr…
Browse files Browse the repository at this point in the history
…ough cli (datahub-project#2748)
  • Loading branch information
jjoyce0510 authored Jun 23, 2021
1 parent 5a4d194 commit 8fc1947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8fc1947

Please sign in to comment.