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

unsupported Compose file version: 3.7 (please support this soon) #8

Open
1c7 opened this Issue Feb 10, 2019 · 4 comments

Comments

Projects
None yet
1 participant
@1c7
Copy link

1c7 commented Feb 10, 2019

What I am trying to do

Deploy Docker Swarm with Codefresh
I am following these step: https://codefresh.io/docs/docs/deploy-your-containers/docker-swarm/
image

A bit more background info

I am using a sample Ruby on Rails 5 app (create with rails new ...etc)
because I am trying if codefresh work for me. if it doesn't, I am gonna use Buddy
I am trying to build a CI/CD workflow with Github -> CodeFresh -> Docker Swarm(it run on my Azure machine)

What actually happen

Error message: unsupported Compose file version: 3.4
image

codefresh.yml

image
the point here is I am using codefresh/remote-docker image.
I know the - docker info and - rdocker help doesn't work, I already remove them. I am just trying to debug issue with these 2 line.

docker-stack.yml

image
the screenshot here showing 3.7 but previous image showing 3.4 because I take screenshot after create this issue, I can't find that 3.7 error log. so I just screenshot that 3.4 error as example

both version 3.4 and version 3.7 not working

I guess you guys are focusing on Kubenetes?
I am trying to deploy with Docker swarm.

@1c7

This comment has been minimized.

Copy link
Author

1c7 commented Feb 10, 2019

@1c7

This comment has been minimized.

Copy link
Author

1c7 commented Feb 10, 2019

version: '3.1' work fine

image

@1c7

This comment has been minimized.

Copy link
Author

1c7 commented Feb 10, 2019

I hope codefresh/remote-docker can support newest docker-compose version soon

image
https://docs.docker.com/compose/compose-file/

Thanks

@1c7 1c7 changed the title unsupported Compose file version: 3.7 unsupported Compose file version: 3.7 (please support this soon) Feb 10, 2019

@1c7

This comment has been minimized.

Copy link
Author

1c7 commented Feb 10, 2019

Conclusion

For now, docker compose version 3.1 work fine for me.

But I hope Codefresh can support higher version soon (like 3.7)
because I want to use feature provide by higher version

for example
Version 3.4 provide order and other config that help me do 0 downtime deployment
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment