From 6c00b8629a06a8a44276a20de0fa2e922d9fc9c0 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 11 Jun 2023 23:14:51 +0200 Subject: [PATCH] Automatisches entfernen von Orphans beim Start --- README.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.sh b/README.sh index 626d366..4c99f7a 100755 --- a/README.sh +++ b/README.sh @@ -6,7 +6,7 @@ then exit fi -docker-compose -f docker/docker-compose.yml up -d kafka-1 kafka-2 kafka-3 +docker-compose -f docker/docker-compose.yml up -d --remove-orphans kafka-1 kafka-2 kafka-3 docker-compose -f docker/docker-compose.yml ps echo "Waiting for the Kafka-Cluster to become ready..." docker-compose -f docker/docker-compose.yml run --rm cli cub kafka-ready -b kafka:9092 3 60 > /dev/null 2>&1 || exit 1 -- 2.20.1