Add back ZFS snapshotter

Fix issue 10889

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2024-10-25 00:10:20 +09:00
parent 8c98e18a91
commit 778defa31f
30 changed files with 2674 additions and 10 deletions

View File

@@ -16,8 +16,7 @@
package builtins
// Temporarily removed while plugin package is moved, to be added back
// before 2.0.
//import _ "github.com/containerd/zfs/plugin"
import _ "github.com/containerd/containerd/v2/plugins/diff/walking/plugin"
import (
_ "github.com/containerd/containerd/v2/plugins/diff/walking/plugin"
_ "github.com/containerd/zfs/v2/plugin"
)

View File

@@ -18,8 +18,4 @@
package builtins
// zfs snapshotter is temporarily removed until it is updated to use the
// new plugin package. In the future, the external plugin package will
// make it easier to update zfs and containerd independently without
// the dependency loop. Add back before 2.0 release.
//import _ "github.com/containerd/zfs/plugin"
import _ "github.com/containerd/zfs/v2/plugin"