Skip to content

Instantly share code, notes, and snippets.

@trisk
Created July 1, 2015 15:02
Show Gist options
  • Save trisk/0e4bb91ee38a5a822657 to your computer and use it in GitHub Desktop.
Save trisk/0e4bb91ee38a5a822657 to your computer and use it in GitHub Desktop.
# chmod 777 /dev/zfs
# zfs create mistify/guest-playground
# zfs allow dockroot create,mount,destroy,send,receive mistify/guest-playground
# zfs set mountpoint=legacy mistify/guest-playground
# docker run --devices=/dev/zfs:/dev/zfs -t -i bc1865e28911 /bin/bash
# zfs create mistify/guest-playground/test
# mkdir /tmp/test && mount -t zfs mistify/guest-playground/test /tmp/test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment