How do I configure Docker to use ZFS?

Jorge Castro

I'm trying to get docker to use an existing zpool. According to the Docker documentation I should set my storage driver in /etc/default/docker:

DOCKER_OPTS="--storage-driver=zfs"

However when I restart the service Docker will not startup:

level=fatal msg="Error starting daemon: error initializing graphdriver: prerequisites for driver not satisfied (wrong filesystem?)"

When trying docker daemon --storage-driver=zfs I get a similar error.

I am using Docker 1.5-1 in Xenial.

user448115

you should probably also set zfs.fsName using --storage-opt zfs.fsName="filesystem name"

alternatively you can mount a zfs filesystem to /var/lib/docker

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

How do I configure ActiveJob to use Resque?

분류에서Dev

How do I use puppet to configure network settings?

분류에서Dev

How do I configure irssi?

분류에서Dev

How do I configure environment variables in cmder?

분류에서Dev

How do I use MapStateListener?

분류에서Dev

How do i configure samba on my Ubuntu Server 14.04

분류에서Dev

How do I use OR with if statements in regards to strings

분류에서Dev

How do i use Blazor components in the code?

분류에서Dev

Python: How do i use itertools?

분류에서Dev

How do I use runit with zookeeper

분류에서Dev

How do I use Firefox cookies with Wget?

분류에서Dev

How do I use the GeometryConstraint class?

분류에서Dev

How do I make use of rotation matrices?

분류에서Dev

How do i use SetPixel on a new Bitmap?

분류에서Dev

How do i get cURL to use https

분류에서Dev

How do I use "<<" with my own struct?

분류에서Dev

How do I use URL directories as variables?

분류에서Dev

What is fileAPI ? How do I use it with angular?

분류에서Dev

How do I open and use phpmyadmin?

분류에서Dev

How do I use the latest GCC on Ubuntu?

분류에서Dev

How do I use man pages to learn how to use commands?

분류에서Dev

How to configure Django to Use mysql

분류에서Dev

How do I install and use PyCharm without having to use a terminal?

분류에서Dev

How do I install and use PyCharm without having to use a terminal?

분류에서Dev

How do I make to start docker automatically after reboots?

분류에서Dev

In Android Studio how can I configure my project to use Java 8

분류에서Dev

Getting a package not found when I do ./configure

분류에서Dev

How do I configure APN settings on my QMI-based 4G modem?

분류에서Dev

How do I configure module name when WebEssentials generates Typescript Intellisense file?

Related 관련 기사

뜨겁다태그

보관