Skip to content

Commit

Permalink
Always recreate the containers when using docker-compose in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret committed Jan 13, 2023
1 parent 434cca5 commit 268156a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog_checks_dev/datadog_checks/dev/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(self, compose_file, build=False, service_name=None):
self.compose_file = compose_file
self.build = build
self.service_name = service_name
self.command = ['docker', 'compose', '-f', self.compose_file, 'up', '-d']
self.command = ['docker', 'compose', '-f', self.compose_file, 'up', '-d', '--force-recreate']

if self.build:
self.command.append('--build')
Expand Down

0 comments on commit 268156a

Please sign in to comment.