Repository navigation
Conversation
|
gofmt |
Signed-off-by: Erik Hollensbe <[email protected]>
|
my save hook wasn’t working, thanks, fixed. On 25 Sep 2015, at 14:37, Jess Frazelle wrote:
|
|
It would be good to do this on the daemon side as well (in the daemon logs). |
|
I’ll dig it up, don’t worry about it. On 25 Sep 2015, at 14:43, Brian Goff wrote:
|
Signed-off-by: Erik Hollensbe <[email protected]>
|
This should be available now, PTAL On 25 Sep 2015, at 14:43, Brian Goff wrote:
|
There was a problem hiding this comment.
Early docs review; This needs its own head, right now it's below "command line short variant options"
|
Thanks, Erik |
|
Could we make this a daemon-side check rather than client? That way, on the Windows path, we could just error out if supplied. Just thinking ahead to remove any possible baggage on the Windows volume support (#16433) which will likely be deprecated by the time we RTM Server 2016. |
|
It should be both as of the latest revision. On 28 Sep 2015, at 15:51, John Howard (Microsoft) wrote:
|
|
Oh, error. I was told to make it warn for now. On 28 Sep 2015, at 15:51, John Howard (Microsoft) wrote:
|
|
major +1 from me |
|
Can you clarify what I should be doing here, if anything? |
|
such a short life 😿 I'm conflicted because I think it's a really nice "one-time-only" thing. But I'll be okay if other maintainers want to deprecate it. |
@calavera What do you mean by "one-time-only" ? It also feels strange to have |
|
I know it feels weird to have both. I'm conflicted because I like to do this for certain cases: Rather than: |
|
but I can learn to live without it. |
|
Yes, I can understand why you like the simplicity of --volume-driver, I just think it quickly becomes complicated of multiple volumes are involved (including volumes defined in the image). So apologies for "killing" the flag, but I hope you can understand my reasoning |
|
i kinida like the flag, but im not married to it so either way |
|
all right then, I'll drop the ball :-) : LGTM 😉 |
that doesn't imply that we have to kill this flag. We have a whole new api to manage those complicated cases. I see this flag more as a shortcut for simple cases than an impediment for complicated cases. |
|
ok so as to get this show on the road it seems like we are all split and until we have concensus lets keep the flag. |
|
I am -1 on this because it breaks our integration with tools that use |
|
@lukemarsden -1 on removing the flag, or -1 on closing this PR? |
|
-1 on removing the flag. Thanks for clarifying! |
|
Also, until we have a docker compose story with first class volumes, we should keep |
|
Cool, thanks @lukemarsden |
|
If you create a volume first, how do you handle multi node case? With swarm, mesos etc.., container will be scheduled based on requirements (ram, cpu, ...) on a node. If we create the volume first, which docker instance will handle the storage plugin? docker volume create will call the VolumeDriver.Create on one node then |
|
@osallou swarm does the create on every node. |
/cc @cpuguy83 @calavera @srust
This deprecates the
--volume-driverflag and pre-emptively schedules it for removal in 1.11. Please let me know if any wording needs to be adjusted, as this is principally a docs patch.Thanks!
-Erik
Fixes #16069