瀏覽代碼

Update README.md: way bigger warning

Bigger warning about the v2 breaking changes. At least temporarily. [skip ci]

Signed-off-by: CrimsonGlory <[email protected]>
CrimsonGlory 4 年之前
父節點
當前提交
14e42df8f2
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      README.md

+ 4 - 4
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
 -----------