Skip to content

Renamed all docker-compose.y(a)ml to compose.yaml Fixes #6874 - #6924

Open
Patrik Nagy (alien299) wants to merge 26 commits into
microsoft:mainfrom
alien299:Rename-all-docker-compose.y(a)ml-to-compose.yaml
Open

Renamed all docker-compose.y(a)ml to compose.yaml Fixes #6874#6924
Patrik Nagy (alien299) wants to merge 26 commits into
microsoft:mainfrom
alien299:Rename-all-docker-compose.y(a)ml-to-compose.yaml

Conversation

@alien299

Copy link
Copy Markdown

Renamed all docker-compose.yml and docker-compose.yaml texts to compose.yaml.
Fixes #6874

Issue:
The compose spec specifies (https://docs.docker.com/compose/compose-file/03-compose-file/):

The default path for a Compose file is compose.yaml (preferred) or compose.yml that is placed in the working directory. Compose also supports docker-compose.yaml and docker-compose.yml for backwards compatibility of earlier versions. If both files exist, Compose prefers the canonical compose.yaml.

All mentions of docker-compose.yml and docker-compose.yaml should be changed to compose.yaml.

@ntrogh Nick Trogh (ntrogh) added don't merge doc-enhancement suggested addition or improvement labels Dec 17, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well what do thjnk


<img src="/assets/blogs/2017/01/15/DockerSearch.png" width="350px" />

This extension includes many things, one of which is a simple command for generating a `Dockerfile` and `docker-compose.yml` file for an existing project. To see this in action, type `F1` (to bring up the command palette) and type `docker` to display all of the commands that the Docker extension provides:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Fixes #10220

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-enhancement suggested addition or improvement don't merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename all docker-compose.y[a]ml to compose.yaml