docker-outline icon indicating copy to clipboard operation
docker-outline copied to clipboard

Docker compose version messy error.

Open wwxiaoqi opened this issue 1 year ago • 2 comments

environment

  • Linux Server 5.4.0-125-generic Ubuntu GNU/Linux
  • Docker version 20.10.12, build 20.10.12-0ubuntu2~20.04.1
  • docker-compose version 1.25.0

what is the problem

I get this when I use the following command.

root@server:# docker-compose -f docker-compose.postgres.yml -f docker-compose.redis.yml -f docker-compose.minio.yml -f docker-compose.attachment.yml -f docker-compose.sso.yml -f docker-compose.outline.yml up -d

ERROR: Version mismatch: file ./docker-compose.postgres.yml specifies version 3.0 but extension file ./docker-compose.sso.yml uses version 3.6

simple solution

I changed the version: "3.6" under the docker-compose.sso.yml file to version: "3" and solved the problem.

I am not sure if I am the only one having this problem.

That's why I opened issues.

wwxiaoqi avatar Oct 07 '22 07:10 wwxiaoqi