Skip to content

Use documented spec extensions in docker compose#2554

Merged
wookie184 merged 2 commits into
mainfrom
update-docker-compose
Apr 22, 2023
Merged

Use documented spec extensions in docker compose#2554
wookie184 merged 2 commits into
mainfrom
update-docker-compose

Conversation

@ChrisLovering
Copy link
Copy Markdown
Member

The previous method of '<<' no longer works with the latest version of docker compose. This method is what is documented in the compose spec

The previous method of '<<' no longer works with the latest version of docker compose. This method is what is documented in the [compose spec](https://github.com/compose-spec/compose-spec/blob/master/spec.md#extension)
This is no longer needed as we are not using any 'unsafe' yml on purpose anymore.
@ChrisLovering ChrisLovering force-pushed the update-docker-compose branch from d465e41 to 1928106 Compare April 22, 2023 09:37
Copy link
Copy Markdown
Contributor

@shtlrs shtlrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on:
docker engine 20.10.23
docker compose v2.15.1

Copy link
Copy Markdown
Contributor

@wookie184 wookie184 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like there is a version of the previous syntax that works, but this way seems just as good so lgtm. docker/compose#10411 (comment)

@wookie184 wookie184 merged commit 0ad9c18 into main Apr 22, 2023
@wookie184 wookie184 deleted the update-docker-compose branch April 22, 2023 12:31
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.

3 participants