-
Notifications
You must be signed in to change notification settings - Fork 77
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
Add option to add more options to docker storage #6
Comments
would you expect this to also address adding version specific flags automatically? For instance docker-1.9.1 added |
Now we have a config option "EXTRA_DOCKER_STORAGE_OPTIONS", where one can specify the config options to pass to docker. |
So this issue can be closed then, right? Probably a different issue, but If I upgrade from docker-1.8.2 to docker-1.9.1, assuming d-s-s runs when docker starts, will I get the new options defined? |
I think this particular issue can be closed. What you are asking for is a different issue. I think right fix for your issue is to enable deferred deletion and deferred removal by default in docker that way over an upgrade customer automatically gets it. Now docker has done changes in their systemd unit file to run docker daemon in host namespace by default. That means lot of leaking of mounts across namespaces and that also means lot more need to enable deferred deletion and deferred removal by default. So may be docker will be open to it now. If not, we should think of carrying a patch for docker for fedora. |
cc @shishir-a412ed Would you like to propose enabling deferred removal and deferred deletion by default upstream? |
Yes @shishir-a412ed propose that and explain the leaking of open file descriptors caused by running docker in the host namespace. |
@rhvgoyal @rhatdan Shishir |
If say I want to pass e.g.
--storage-opt dm.basesize=50G
to docker, currently the easiest way to do that is to change/etc/sysconfig/docker
, where one would expect at least to also be able to change (also)/etc/sysconfig/docker-storage-setup
where other options are specified.Alternatively, we could figure out how to sanely merge human and automatic changes in
/etc/sysconfig/docker-storage
, but that's nontrivial, and I prefer not mixing human-edited and machine-edited files.The text was updated successfully, but these errors were encountered: