Skip to content

Commit 2f972e2

Browse files
committed
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 <[email protected]>
1 parent df348dc commit 2f972e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ services:
199199
image: *redis-image
200200
quay-notifier:
201201
<<: *notifier
202+
container_name: clair-notifier-quay
202203
profiles:
203204
- quay
204205
environment:

0 commit comments

Comments
 (0)