-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Change the graphroot in storage.conf doesn't effect volume creation #2395
Comments
There is an (undocumented, and not present in the default configuration) option Fix here is to:
|
#2397 should fix |
This is exactly what I'm looking for. I've added
to But it doesn't change the volume location so far. Its still in the default location |
We have a partial fix in #2397 that will ensure that volumes will always be a subdirectory of c/storage if the default storage directory moves. Unfortunately, the volume_path option is still broken. I know what's wrong, but it will be a more substantial code change to fix, so we're going to hold it until after v1.1.0 is released |
Final fix should be in #2454 |
After change the location, you may also need to |
I've changed
runroot
andgraphroot
in/etc/containers/storage.conf
The new path is reflected in
podman info
and is used for image and container handling.But new volumes created with
podman volume create new-volume
are placed in the default location:/var/lib/containers/storage/new-volume/_data
I can see it with
podman volume inspect new-volume
and in the filesystem.I've found no other hint how to change the base dir for volumes.
I run:
Operating System: Fedora 29 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:29
Kernel: Linux 4.20.5-200.fc29.x86_64
Architecture: x86-64
The text was updated successfully, but these errors were encountered: