-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
storage_opt for Compose version 3 #1177
Comments
This would be very helpful ... I don't understand why this option is missing in v3. |
Reason why some v2 features are missing from v3 is that it have been completely rewritten. Feel free to create PR of this feature. |
Funny.... feature was silently removed. Another reason to go Kubernetes way. |
@IvanBoyko just to correct that misunderstanding. Support for this feature have not been ever implemented for Swarm (it is not implemented even for Whole list of missing service create / update options are listed on moby/moby#25303 It is known thing that Docker, Inc does not have similar resources than Google do so that why they cannot implement new features on same speed. Reason why it works on Kubernetes is that it actually uses What comes to that how to get support for these features to Swarm you have basically three options:
And just to clarify I have nothing to do Docker, Inc I'm just one happy Swarm user who don't want Kubernetes complexity and who try help users to get these minor things fixed and fixing the ones which I have seen on our env. |
Thank you for the clarification. I've tried even using compose v2, but it's not supported anymore by the latest versions of Docker Engine. Well, I'm personally choosing the 4th way - move to Kubernetes. "Buy Docker EE" - is that even an option? Pay and pray that they implement your request OR go with free Kubernetes where it's already done? |
Hmm. Afaik compose v2.4 should be there still on latest versions but it only works on non-swarm mode.
v2.x => standalone mode, v3.x => swarm mode. Most of options are compatible but technically they are two totally different implementations. But I agree that documentation on that area should be improved.
Yea it really depends on use cases which one works best. That why there are option to choose between Swarm and Kubernetes. Luckily on recent versions Docker CLI also supports Kubernestes workloads (e.g.
Sure I have. It really depends on about environment. It is good options to many business critical environments where stability is more important than have all recent features in available.
Like I said earlier. I really depends on use cases. E.g. Windows support on Kubernetes and especially its management tools Rancher/OpenShift are not even near production ready so it is not option for us at least yet. Anyway, lets end this off-topic discussion about Kubernestes on here and continue example on Slack if needed. |
The V2 and V3 formats target a different audience, where V2 is more for local development (running local containers) and use with Also see docker/docs#7593, which is a pull-request to clarify the documentation. In this particular case; the Actually; looks like |
Is it possible to use compose file with Kubernetes? 😮 |
On Docker Desktop and Docker Enterprise, you can. It currently requires a server-side component that is not (yet?) open-source (it doesn't ship with the Docker CE "engine" packages, but is included in Docker Desktop (Docker for Mac/Windows) for local Kubernetes development) |
!upvote would be nice to see this feature re-implemented |
still waiting this to be implemented |
Wow, still not implemented... This was a feature in v2 which was removed in v3 so maybe "porting" is a better word than "implementing" |
Compose file format is now managed by the compose-spec.io But |
same issue, same disappointed. |
Currently it looks like only version 2 Compose files support
storage_opt
. It would be a very useful addition if support forstorage_opt
was extended to version 3 as well.The text was updated successfully, but these errors were encountered: