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`

Signed-off-by: perat <[email protected]>
  • Loading branch information
perat committed Mar 14, 2024
1 parent e5a896c commit 59218ba
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 59218ba

Please sign in to comment.