From 14e42df8f26a8569344684029199f5eee62a2044 Mon Sep 17 00:00:00 2001 From: CrimsonGlory Date: Wed, 29 Sep 2021 12:12:58 -0300 Subject: [PATCH] Update README.md: way bigger warning Bigger warning about the v2 breaking changes. At least temporarily. [skip ci] Signed-off-by: CrimsonGlory --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cff5486c..84aee352 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ your application are configured. Once you have a Compose file, you can create and start your application with a single command: `docker compose up`. +# About v2 update compatibility breaks + +Docker Compose v2 is a major version bump release of Docker compose. It has been completely rewriten from scratch in Golang (v1 was in Python). The installation instructions for Compose v2 differ from v1. v2 is not a standalone binary anymore and installation scripts will have to be adjusted. Some commands are different. For a smooth transition from legacy docker-compose 1.xx, please consider installing [compose-switch](https://github.com/docker/compose-switch) to translate `docker-compose ...` commands into Compose v2's `docker compose .... `. Also check v2's `--compatibility` flag. + # Where to get Docker Compose ### Windows and macOS @@ -33,10 +37,6 @@ Or copy it into one of these folders for installing it system-wide: (might require to make the downloaded file executable with `chmod +x`) -### Backward compatibility - -For a smooth transition from legacy docker-compose 1.xx, please consider installing [compose-switch](https://github.com/docker/compose-switch) to translate `docker-compose ...` commands into Compose V2's `docker compose ...` - Quick Start -----------