-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rancher-compose] Support for docker-compose v2 syntax? #3973
Comments
Rancher-compose is based on libcompose and libcompose doesn't support it yet. |
@deniseschannon: Apart from the dependency between CLI tool rancher-compose and docker-compose, to which extent are changes necessary to the core (cattle) and ui? Have you already planned these migrational efforts? Just interested to know when version v2 syntax will make it into an official rancher release. Would be nice to see rancher-compose and docker-compose converge even more. :) |
@fuhbar We'll also need to add in any new parameters into cattle as part of the API as well as when we export docker-compose.yml files for stacks. And yes, there will be obvious UI changes needed to show these new parameters. We do plan on making v2 syntax support in a release in the future. We have added this issue for cattle tracking to at least start tracking some of the missing fields. I still have to do a full comparison of V1 vs V2 syntax and what else might be missing. |
+1, compose v2 is how my stack runs at the moment. |
+1 |
Following here. |
libcompose is experimental as such Rancher-Compose should be considered experimental by association. Use in production at your own risk. |
Looks like this is primarily blocked by libcompose but they are nearing completion on the ticket referenced above. |
+1 for this feature. Any release date? I'am using rancher v1.1.0-dev5 and it always seems not to manage v2 syntax of docker-compose. |
@cabrinoob Anything with a milestone is typically in our roadmap. When we add in this feature, we'll also announce it in our release-notes. |
OK, sorry^^ |
+1 |
@deniseschannon: Off-topic: Is there an easy way to view that roadmap? GitHub only shows a single milestone AFAIK. |
@dj-hedgehog We now have project planning pages. https://github.com/rancher/rancher/wiki/Rancher-1.2.0 |
I realize this has a milestone of 1.2.0 (so I guess around october?), however it also says "resolved" in status label... Is it implemented in any version? We are using buildargs quite extensively in order to re-use a bunch of images for similar purposes... compose v2 would allow us to go back to using rancher... |
Tested the v1.2.0-pre2-rc1. Ran all the rancher-compose-commands related test cases with v2 syntax. Did not find any issues. |
Great news... will test pre2-rc1 soon :) |
@RVN-BR Please note that we have only tested for services. We have to introduce volumes and networks. |
Actually I'm using mostly (or only) build arguments from v2... Havent used volumes or networks... I do use regular links and dependes_on, as well as volumes_from (but have maintained a 1-1 relationship so I dont screw up sidekicks... |
Is there a timeline on when the docker-compose v2 file format will be supported?
Steps to Reproduce:
docker-compose.yml
then execute:
rancher-compose -p NewApp up
Results:
Expected:
The text was updated successfully, but these errors were encountered: