Carry 9684: Support --storage-opt for aufs graph driver#10390
Carry 9684: Support --storage-opt for aufs graph driver#10390tiborvass wants to merge 7 commits intomoby:masterfrom
Conversation
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <[email protected]> (github: dqminh)
Signed-off-by: Daniel, Dao Quang Minh <[email protected]>
Signed-off-by: Tibor Vass <[email protected]>
|
LGTM |
1 similar comment
|
LGTM |
|
@tiborvass can we please link to the also, while the description of using that option is technically correct, it doesn't make it obvious that there is a disadvantage to using the |
|
@SvenDowideit what do you suggest? This PR is supposed to close #783. Should we still keep that in the known issues? Let me know what you'd like to see and I'll add it. |
|
@SvenDowideit @tiborvass afaik only ubuntu 14.10 and after carry the Perhaps we should add a note to #783 to tell people about the workaround ? |
|
@dqminh so there are no downsides? It's just that if it's not available there's no fix. I think this PR fixes that issue. Ping @SvenDowideit |
|
@tiborvass Yes, if it's not available, you cant use it :D I think that in Docker usecase, there's no downside. Not enable |
|
@tiborvass I think @dqminh's point is probably what Docker should focus on as far as the "why |
|
@dqminh stated it isn't available until Ubuntu 14.10, so other than the fact that it may not be supported depending on base OS, I believe on by default is a reasonable approach. My only other thought: would we want to allow for it to be disabled in case there is a strange use case scenario where someone is relying on current behavior? |
|
@estesp your last question is basically a better formulation of "what's the downside of using dirperm1?", and what I've been told so far is that there is none. |
|
@tiborvass how is this for a not-so-helpful response: there is no downside unless someone saw an upside to weird permissions errors from Dockerfile ordering problems :-} I don't know how to answer that without changing the default and seeing who screams. I would hope no one, and looking at the long painful history of #783 (and all its dups and related issues), you would think changing the default will make a lot of people very very happy. |
|
@tiborvass #10534 case is different though, because afair Enabling I think it's safer for |
|
@dqminh but isn't there a way to detect whether dirperm1 is available and enable it if it is? |
|
Hmm, maybe we can also test mounting with dirperm1 at first mount to detect On Sunday, 8 February 2015, Tibor Vass [email protected] wrote:
|
|
@dqminh IANTM, but sure why not! |
|
@tiborvass Thanks for letting me know about this. Perhaps we could test if this dirperm1 feature is available during the aufs init phase? @dqminh I'd be +1 to doing that check as you've also written above. We should try to detect this on the fly and print a warning if it's not supported. I think this is the best approach and that it would be a better experience for the user. |
|
@unclejack Thanks for your input! I'll see what I can do to do that, but if someone wants to send me a PR, i'll cherry-pick their commits onto this branch :) |
|
I think if we find a good way to check for |
|
@tiborvass http://docs.docker.com/release-notes/#known-issues lists the problem atm, and this is (if i understand correctly) a fix which may not be available. so yes, I'd keep the known issue there for now, but add a link from it to the docs you added about the mount-opt - pointing out that it needs settings that can be checked with Additionally - @tianon can we make sure boot2docker has things set up right? |
|
Ping @tiborvass: it's unclear if you have something left to do here, or if this should be moved to |
|
@icecrime thanks for the reminder, I do have something to do here :( Will try to update shortly |
|
I'll reopen when I update today, sorry about the delay |
Fixes #783
Closes #9684
Ping @crosbymichael @jfrazelle @unclejack @icecrime @fredlf @SvenDowideit