-
Notifications
You must be signed in to change notification settings - Fork 763
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
Error to parse docker-compose v3 format #412
Comments
@pivulic |
when will it be available? (roundabout) |
@surajssd Hey man, do you know if this will be updated upstream in libcompose? |
Ahhhh, just found the issue: docker/libcompose#421 We'll have to wait for this to be updated upstream @michaelharrer @pivulic |
yeah v3 is still WIP in upstream and I guess once that is done we can move to it. |
The best way to "workaround" this is simply removing the "deploy" section of your V3 file and changing the |
What "deploy" section? :) The reason why I'm trying the |
@pivulic Ahhhhh. I got my facts wrong. I thought the only large difference was the |
I'm labeling this as a bug with libcompose as this will need to be supported upstream as well as downstream within Kompose. |
@surajnarwade done |
Wohoo! |
Problem
When trying to create named volumes that can be reused across multiple services (without relying on volumes_from due to "PersistentVolumeClaim is not bound"), kompose is unable to parse docker-compose.yml version 3 format.
See: https://docs.docker.com/compose/compose-file/#/volume-configuration-reference
How To Recreate
Create file:
touch docker-compose.yml
Copy/paste:
Run:
kompose up -f docker-compose.yml
Actual Result
Expected Result
docker-compose.yml should successfully be converted and deployed.
The text was updated successfully, but these errors were encountered: