Migrate to Docker Compose V2 #39429
Unanswered
Timelessprod
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Airflow Sample Docker Compose file intends to be run in Docker Compose V2 since Airflow 2.8 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello dear Airflow community,
Since July 2023 Docker Compose V1 has stopped receiving updates and Docker suggests to migrate to the V2 on their website. Most importantly, there has been no security updates on V1 since May 10th 2021.
The migration usually requires minor adjustment from my experience with other projects I work on. Indeed the migration mainly consists of replacing
docker-compose
commands withdocker compose
, as well as removing theversion
key in thedocker-compose.yaml
files as it is now useless. The full list of changes to apply during migration is here.Would it be possible to consider upgrading to Docker Compose V2? If so, is it already planned?
I saw this PR #28605 which was supposed to do that already, but it was only in a doc file and I can still see a lot of V1 commands in the code currently on master.
I can consider opening a PR for it if it is considered as a good idea :)
Thanks in advance for your further responses.
Beta Was this translation helpful? Give feedback.
All reactions