From 3edb5d3e6d5e34b483c1f6b7cb6e5ec5435fd1e4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 10 May 2024 18:07:05 +0300 Subject: [PATCH] Match the Compose spec naming preference for the compose file (https://docs.docker.com/compose/compose-application-model/#the-compose-file) --- Using-Docker-Compose.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-Docker-Compose.md b/Using-Docker-Compose.md index 32120a7..0caba92 100644 --- a/Using-Docker-Compose.md +++ b/Using-Docker-Compose.md @@ -7,7 +7,7 @@ This example assumes that you have [installed](https://docs.docker.com/compose/i > [!NOTE] > Docker Compose might be run as `docker-compose ...` (with a dash) or `docker compose ...` (with a space), depending on how you have installed Docker Compose. `docker-compose` is the original syntax, when Docker Compose was distributed as a standalone executable. You can still choose to do a [standalone](https://docs.docker.com/compose/install/other/#install-compose-standalone) installation, in which case you would continue to use this syntax. However, Docker currently recommends installing Docker Compose as a Docker plugin, where `compose` becomes a subcommand of `docker`, making the syntax `docker compose ...`. -Start by making a new directory and changing into it. Next, create the `docker-compose.yml` below, making sure to substitute appropriate values for the `DOMAIN` and `EMAIL` variables. +Start by making a new directory and changing into it. Next, create the `compose.yaml` (or `docker-compose.yml` for legacy versions) below, making sure to substitute appropriate values for the `DOMAIN` and `EMAIL` variables. ```yaml version: '3'