From 59218ba9ed78f0aa7f58553e753b356295680e97 Mon Sep 17 00:00:00 2001 From: perat Date: Thu, 14 Mar 2024 15:41:10 +0100 Subject: [PATCH] docker-compose: Deduplicate container names On Docker Compose version 2.24.7 it fails with error: `"services.quay-notifier": container name "clair-notifier" is already in use by "services.notifier": invalid compose project` Signed-off-by: perat --- docker-compose.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8e15472be3..79cabaa9d6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -199,6 +199,7 @@ services: image: *redis-image quay-notifier: <<: *notifier + container_name: clair-notifier-quay profiles: - quay environment: