Debian/Ubuntu: Update the docker step

Docker manages its own snapshots, so we are going to set
com.sun:auto-snapshot=false.  Also, this isn't just for docker-ce.
Richard Laager 2019-01-18 00:27:40 -06:00
parent 6cc2bb83ae
commit 2dad759638
2 changed files with 6 additions and 4 deletions

@ -130,8 +130,9 @@ Properties are inherited, if you want to create (for example) `rpool/var/lib` yo
If this system will store local email in /var/mail: If this system will store local email in /var/mail:
# zfs create rpool/var/mail # zfs create rpool/var/mail
If this system will use docker-ce (which creates snapshots by default): If this system will use Docker (which manages its own datasets & snapshots):
# zfs create -o mountpoint=/var/lib/docker rpool/var/docker # zfs create -o com.sun:auto-snapshot=false \
-o mountpoint=/var/lib/docker rpool/var/docker
If this system will use NFS (locking): If this system will use NFS (locking):
# zfs create -o com.sun:auto-snapshot=false \ # zfs create -o com.sun:auto-snapshot=false \

@ -151,8 +151,9 @@ With ZFS, it is not normally necessary to use a mount command (either `mount` or
If this system will store local email in /var/mail: If this system will store local email in /var/mail:
# zfs create rpool/var/mail # zfs create rpool/var/mail
If this system will use docker-ce (which creates snapshots by default): If this system will use Docker (which manages its own datasets & snapshots):
# zfs create -o mountpoint=/var/lib/docker rpool/var/docker # zfs create -o com.sun:auto-snapshot=false \
-o mountpoint=/var/lib/docker rpool/var/docker
If this system will use NFS (locking): If this system will use NFS (locking):
# zfs create -o com.sun:auto-snapshot=false \ # zfs create -o com.sun:auto-snapshot=false \