3 ms·
Docker on ZFS is a pain in the ass and slow as hell. And I say this as both a happy docker/container and ZFS user. But combining them is a bad idea.
by koffiezet 7y ago
Docker on ZFS is a pain in the ass and slow as hell. And I say this as both a happy docker/container and ZFS user. But combining them is a bad idea.
- seabrookmx 7y agoI definitely noticed slowness as well when I tried it. I'm currently using overlay because I leave my docker mount on my root partition since ZFS has always been a pain for root. I hear Ubuntu 19.10 is smoothing that over a bit though. It's too bad because I've ran into issues on lower memory boxes where the Linux block cache and the arc compete for memory and cause performance slowdowns or errors. If all the filesystems were ZFS this wouldn't be an issue. Also all the other ZFS benefits like resisting bitrot etc.
- koffiezet 7y agoI just use overlay on top of ZFS. It's just the native ZFS docker backend that is very slow.
- seabrookmx 7y agoWhy didn't I think of that? So all you need to do is manually specify the volume driver to overlay2 when your FS is ZFS, and this just works?