-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Docker Run Error with –storage-opt and Overlay2 on XFS with pquota #46823
Comments
Thanks for reporting; from your
Project quotas are currently only supported on
We should also look if we want to implement this as part of the graph-drivers, because we're transitioning to he containerd image-store and snapshotters, so it would be better to implement there (if not implemented yet) I'll close this ticket because of the above, but feel free to continue the conversation |
Hi @thaJeztah I have tried with both file backing systems but did'nt work you check the conversion here https://forums.docker.com/t/docker-run-error-with-storage-opt-and-overlay2-on-xfs-with-pquota/138489 |
I know there's been some corner-cases around feature-detection for the overlay driver, and there's some work (but unfinished) to improve (see #45890), although I don't know if feature-detection for quotas is part of that /cc @neersighted Feature detection for the overlay driver is initiated in moby/daemon/graphdriver/overlay2/overlay.go Lines 189 to 196 in 75324c4
Which uses code from the Lines 107 to 132 in 75324c4
That code involves CGO though, and depends on some headers; Lines 1 to 19 in 75324c4
I also seem to recall that feature detection may happen on From the output of your
That may not be relevant, but we know that distro-maintainers tend to make modifications in the build-process (including different versions of the Go toolchain and build-time dependencies), which has resulted in (sometimes subtly) broken packages; if you have a system to test on, do you also see the same issue when installing packages from download.docker.com? (instructions for installing in https://docs.docker.com/engine/install/ubuntu/). |
I need this on extfs I also have this problem |
Dear @thaJeztah |
@tung06021992 it's not supported on extfs currently; see #29364 |
Description
According to the documentation at docker run | Docker Docs, --storage-opt should work with overlay2, and the backing filesystem is XFS mounted with pquota. I’ve been trying for a while, but I keep encountering this error.
Reproduce
docker run -d it --storage-opt size=10G ubuntu
Expected behavior
No response
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: