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

WARN[0000] docker-compose.yml: version is obsolete #2194

Open
theTyster opened this issue Apr 4, 2024 · 1 comment
Open

WARN[0000] docker-compose.yml: version is obsolete #2194

theTyster opened this issue Apr 4, 2024 · 1 comment
Labels
examples Compose/Dockerfile/etc

Comments

@theTyster
Copy link

theTyster commented Apr 4, 2024

Docker has deprecated the use of version in the root level of the docker compose yaml beginning with Docker Compose 1.27+.

Version top-level element

The top-level version property is defined by the Compose Specification for backward compatibility. It is only informative.

Compose doesn't use version to select an exact schema to validate the Compose file, but prefers the most recent schema when it's implemented.

Compose validates whether it can fully parse the Compose file. If some fields are unknown, typically because the Compose file was written with fields defined by a newer version of the Specification, you'll receive a warning message. Compose offers options to ignore unknown fields (as defined by "loose" mode).

I'll make a PR for this.

These lines can be removed:








theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
theTyster added a commit to theTyster/nextcloud_docker that referenced this issue Apr 4, 2024
@joshtrichards joshtrichards added the examples Compose/Dockerfile/etc label Apr 24, 2024
YY-PZ pushed a commit to dkostmii/best-hackathon-test that referenced this issue Apr 28, 2024
@theTyster
Copy link
Author

For those searching this issue, see #2201.

SebStaeubert added a commit to medizininformatik-initiative/INTERPOLAR that referenced this issue May 21, 2024
'version' entfernt, siehe nextcloud/docker#2194, refs #204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Compose/Dockerfile/etc
Projects
None yet
Development

No branches or pull requests

2 participants