-
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
should setting CONTAINER_ROOT_LV_MOUNT_PATH
also update docker to not point at /var/lib/docker
?
#274
Comments
/var/lib/docker
?CONTAINER_ROOT_LV_MOUNT_PATH
also update docker to not point at /var/lib/docker
?
I don't think so. Container-storage-setup should not be touching docker config files. |
I thought it populated |
only storage related options go in /etc/sysconfig/docker-storage. What root dir to use for docker storage, that configuration comes from /etc/sysconfig/docker. Trying to pass that configuration from two files now will only add to the confusion. What's wrong with modifying /etc/sysconfig/docker explicitly using cloud-init or something else. In fact, once I had written patches to let container-storage-setup know what's the root directory docker is planning to use and take some decisions based on that. IMO, container-storage-setup just sets up the storage as asked by user/docker. It should not dictate which root dir docker should use and modify that. That mechanism should be outside container-storage-seutp. |
ok, yeah the relationship that conatiner-storage-setup has with the docker service is weird. If you consider the fact that it starts before docker and is required by docker then "why woulnd't it configure the path" is a valid question. But if you look at it like a generic tool to configure container storage for different runtimes (including docker) then that question becomes less relevant. It's just a weird relationship is all I'm saying. |
I set:
I want
/var/lib/containers/container-runtime
to be used by docker. Should container-storage-setup do this for me?The text was updated successfully, but these errors were encountered: