ZFS 2.2 container support for Docker? #46654
-
ZFS 2.2 implements some PRs for container support:
Some of my questions are:
As we are using Docker with ZFS based container storage this is quite interesting for us. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The critical path you are thinking of is inverted -- the kernel requires these features to use overlayfs with ZFS, and the PR you have linked is intended to make sure that we only try to configure overlayfs on a modern ZFS version that supports the required system calls. If you have an up-to-date ZFS, any version of Moby with a modern-ish overlay2 should work on that ZFS filesystem. The issues happen when it almost looks like overlayfs is supported (or rather, our existing function tests pass), but those system calls are missing, which is why that PR needs to be completed (adding further function tests to make sure that overlayfs will really work with the backing filesystem). |
Beta Was this translation helpful? Give feedback.
The critical path you are thinking of is inverted -- the kernel requires these features to use overlayfs with ZFS, and the PR you have linked is intended to make sure that we only try to configure overlayfs on a modern ZFS version that supports the required system calls.
If you have an up-to-date ZFS, any version of Moby with a modern-ish overlay2 should work on that ZFS filesystem. The issues happen when it almost looks like overlayfs is supported (or rather, our existing function tests pass), but those system calls are missing, which is why that PR needs to be completed (adding further function tests to make sure that overlayfs will really work with the backing filesystem).