Skip to content

Commit

Permalink
Added remove volumes flag to save space
Browse files Browse the repository at this point in the history
Signed-off-by: Anmol Virdi <[email protected]>
  • Loading branch information
AnmolVirdi committed Oct 17, 2023
1 parent e160d99 commit 4e1da05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def __exit__(self, type, value, traceback):
# kill docker-compose setup container
try:
cmd = f"docker-compose --env-file {self.temp_env_file} -f {self.docker_file}"
cmd += f" -p {self.namespace_name} down --timeout 60"
cmd += f" -p {self.namespace_name} down -v --timeout 60"
Utils.run_cmd(cmd.split())
except subprocess.CalledProcessError as excp:
logging.info(f"docker-compose down failed due to {excp}")
Expand Down

0 comments on commit 4e1da05

Please sign in to comment.