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

Dropped version info from docker-compose files #4096

Merged

Conversation

CrsiX
Copy link
Contributor

@CrsiX CrsiX commented Mar 31, 2024

According to the docker compose issue 11628 (docker/compose#11628) the 'version' field in docker-compose files is outdated. It shows a warning like the following on hosts with a newer Docker version:

WARN[0000] /srv/plane/docker-compose.yaml: `version` is obsolete

Also, the specs itself state the version was only informative: https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements

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.

According to the docker issue 11628
(docker/compose#11628)
the 'version' field in docker-compose files is outdated.
It shows a warning like the following on hosts with a newer
Docker version:

```
WARN[0000] /srv/plane/docker-compose.yaml: `version` is obsolete
```

Also, the specs itself state the version was only informative:
https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-and-name-top-level-elements

> 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.
@CLAassistant
Copy link

CLAassistant commented Mar 31, 2024

CLA assistant check
All committers have signed the CLA.

@mguptahub
Copy link
Collaborator

@CrsiX Please sign the CLA before we can approve to merge

@CrsiX
Copy link
Contributor Author

CrsiX commented Apr 1, 2024

I've signed it

@sriramveeraghanta sriramveeraghanta merged commit 71b7300 into makeplane:preview Apr 4, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants