From 2f972e24a4b9c976771b7edf5b60c6e08054d63d Mon Sep 17 00:00:00 2001 From: perat Date: Wed, 13 Mar 2024 18:40:03 +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 9d813b8425..7898c36253 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: