Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/TrilliumIT/docker-zfs-plugin

Docker volume plugin for creating persistent volumes as a dedicated zfs dataset.
https://github.com/TrilliumIT/docker-zfs-plugin

docker docker-volume-plugin docker-volumes zfs zfsonlinux

Last synced: 3 months ago
JSON representation

Docker volume plugin for creating persistent volumes as a dedicated zfs dataset.

Awesome Lists containing this project

README

        

# docker-zfs-plugin
Docker volume plugin for creating persistent volumes as a dedicated zfs dataset.

# Installation

Download the latest binary from github releases and place in `/usr/local/bin/`.

If using a systemd based distribution, copy
[docker-zfs-plugin.service](docker-zfs-plugin.service) to `/etc/systemd/system`.
Then enable and start the service with `systemctl daemon-reload && systemctl
enable docker-zfs-plugin.service && systemctl start docker-zfs-plugin.service`.

* Usage

After the plugin is running, you can interact with it through normal `docker volume` commands.

Recently, support was added for passing in ZFS attributes from the `docker volume create` command:

`docker volume create -d zfs -o compression=lz4 -o dedup=on --name=tank/docker-volumes/data`

* Legacy

The driver was refactored to allow multiple pools and fully qualified dataset names. The master branch has removed all legacy naming options and now fully qualified dataset names are required. If you still have not converted to fully qualified names, please use the latest release in the v0.4.x line until you can switch to non-legacy volume names.