You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I have a docker-compose.override.yaml which contains exactly the same content (yes, I know this is not a good idea).
With Docker Compose v2.26.1, this fails with "validating docker-compose.override.yaml: services.traefik.security_opt array items[0,1] must be unique".
With Docker Compose v2.20.2, this works.
Steps To Reproduce
create both docker-compose.yaml and docker-compose.override.yaml with the same content as above
run docker compose up
it fails on Docker Compose v.2.26.1
Compose Version
On the system where it doesn't work:
$ docker compose version
Docker Compose version v2.26.1
$ docker-compose version
Command 'docker-compose' not found, but can be installed with:
[…]
On the system where it does work:
$ docker compose version
Docker Compose version 2.20.2+ds1-0ubuntu1~22.04.1
$ docker-compose version
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022
Description
I have a
docker-compose.yaml
:And I have a
docker-compose.override.yaml
which contains exactly the same content (yes, I know this is not a good idea).With Docker Compose v2.26.1, this fails with "validating docker-compose.override.yaml: services.traefik.security_opt array items[0,1] must be unique".
With Docker Compose v2.20.2, this works.
Steps To Reproduce
docker-compose.yaml
anddocker-compose.override.yaml
with the same content as abovedocker compose up
Compose Version
On the system where it doesn't work:
$ docker compose version
Docker Compose version v2.26.1
$ docker-compose version
Command 'docker-compose' not found, but can be installed with:
[…]
On the system where it does work:
Docker Environment
On the system where it doesn't work:
On the system where it does work:
Anything else?
It might be related to #11371.
The text was updated successfully, but these errors were encountered: