Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose: version is obsolete #20658

Open
jhdxr opened this issue Jun 25, 2024 · 0 comments · May be fixed by #20659
Open

docker-compose: version is obsolete #20658

jhdxr opened this issue Jun 25, 2024 · 0 comments · May be fixed by #20659

Comments

@jhdxr
Copy link

jhdxr commented Jun 25, 2024

Expected behavior and actual behavior:
Harbor using docker-compose generate following warning message with latest docker:

WARN[0000] /home/app/harbor/docker-compose.yml: `version` is obsolete

The top level version is now obsolete. see https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional

Steps to reproduce the problem:
executing any docker compose command: e.g. docker compose up

Versions:
Please specify the versions of following systems.

  • harbor version: v2.11.0-70255684 (but irrelevent actually)
  • docker engine version: 26.1.3
  • docker-compose version: 2.27.0

Additional context:

  • Harbor config files: You can get them by packaging harbor.yml and files in the same directory, including subdirectory.
  • Log files: You can get them by package the /var/log/harbor/ .
@jhdxr jhdxr linked a pull request Jun 25, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant