Skip to content

remove deprecated 'version' attribute from docker-compose.yml#3660

Merged
brianc merged 1 commit intobrianc:masterfrom
The-Alchemist:patch-2
Apr 22, 2026
Merged

remove deprecated 'version' attribute from docker-compose.yml#3660
brianc merged 1 commit intobrianc:masterfrom
The-Alchemist:patch-2

Conversation

@The-Alchemist
Copy link
Copy Markdown
Contributor

Removes the warning:

WARN[0000] .../node-postgres/.devcontainer/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion

The version attribute has been removed as of v2 of the docker compose plugin (https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete).

Removes the warning:

```
WARN[0000] .../node-postgres/.devcontainer/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
```

The `version` attribute has been removed as of v2 of the docker compose plugin (https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete).
@The-Alchemist The-Alchemist changed the title remove deprecated 'version' attribute from docker-compose.ymla remove deprecated 'version' attribute from docker-compose.yml Apr 22, 2026
@brianc
Copy link
Copy Markdown
Owner

brianc commented Apr 22, 2026

TY!

@brianc brianc merged commit 77cb771 into brianc:master Apr 22, 2026
7 checks passed
@The-Alchemist The-Alchemist deleted the patch-2 branch April 22, 2026 21:13
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.

2 participants