From b2036e85c37e512c8d3fbfec448b854a88d4756e Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 13 May 2022 15:32:52 +0200
Subject: [PATCH] L2SS-792: Dont start dependend services in 'make run' to
 prevent recreating their containers

---
 docker-compose/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker-compose/Makefile b/docker-compose/Makefile
index 4ef9160b9..6b989f8a1 100644
--- a/docker-compose/Makefile
+++ b/docker-compose/Makefile
@@ -106,7 +106,7 @@ else
 endif
 
 #
-# When running in network=host mode, point devices at a port on the host
+# When uunning in network=host mode, point devices at a port on the host
 # machine rather than at the container.
 #
 ifeq ($(NETWORK_MODE),host)
@@ -160,7 +160,7 @@ up: minimal  ## start the base TANGO system and prepare requested services
 	$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) up --no-start --no-recreate $(SERVICE)
 
 run: minimal  ## run a service using arguments and delete it afterwards
-	$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) run --rm $(SERVICE) $(SERVICE_ARGS)
+	$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) run --no-deps --rm $(SERVICE) $(SERVICE_ARGS)
 
 down:  ## stop all services and tear down the system
 	$(DOCKER_COMPOSE_ARGS) docker-compose $(COMPOSE_FILE_ARGS) down
-- 
GitLab