seunggabi commented on PR #686:
URL: https://github.com/apache/airflow-site/pull/686#issuecomment-1325929699

   @potiuk 
   
   ### summary
   ```
   v2 is designed to be backward compatible in theory
   I understood that we couldn’t guarantee 100% because we didn’t test 
everything on a 1:1 basis.
   ```
   
https://forums.docker.com/t/docker-compose-docker-compose-v2-support-colima-guarantees-backward-compatibility/131967/2
   
   ### docker forums leader said..
   ```
   I am not sure what you need an answer to. If you want more people to read 
your question and try to answer, it is better to descibe the issue directly in 
the post instead of linkin an other forum so we can read everything, find out 
what the problem is, which was the question and then answer here…
   
   Despite that I have read the issue on GitHub and I am still not sure what 
the question is. Is it that you would like to know if Docker Compose v1 is 
compatible with v2 so you can start to use docker compose command in airflow 
instead of docker-compose.
   
   In theory, yes. On the other hand Docker Compose v2 had a bug from the 
beginning, because parsing of environment variables in the compose file had 
changed so previously working compose files would not always work with Compose 
v2. I submitted a pull request to fix it and it was eventually accepted, but I 
haven’t tried if that change was implemented in a Docker Compose release.
   
   The othe rproblem could be that Docker Compose v1 supported different 
compose yaml versions, but there is no version attribute in a Compose V2 file 
so some features may work differently if the application relied on something 
that was or wasn’t in a specific compose yaml version…
   
   This is just an example so I think in most of the cases you would not have 
problem with Compose v2, but it is not impossible. I wouldn’t rely on an 
intended compatibility in any application so I wouldn’t do that with Docker 
Compose either. If you want to make sure that everything works, you need to 
test every command.
   
   The library in Docker Compose v2 didn’t have a test for multiple variables 
in one string and this is why the developers didn’t notice this issue,
   ```
   
   
![image](https://user-images.githubusercontent.com/8468371/203691611-acc00b26-bcc9-466a-b72f-b6c90d7be889.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to