Skip to content

Commit

Permalink
docker-compose: Deduplicate container names
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
perat committed Mar 13, 2024
1 parent df348dc commit 6dce641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ services:
image: *redis-image
quay-notifier:
<<: *notifier
container_name: clair-notifier-quay
profiles:
- quay
environment:
Expand Down

0 comments on commit 6dce641

Please sign in to comment.