Mounting a ZFS dataset within a jail

Status
Not open for further replies.

ghostdogg

Cadet
Joined
Apr 4, 2014
Messages
8
I'd like to create a jail to run the Docker daemon but unfortunately it refuses to run unless there is a ZFS dataset mounted on /usr/docker. ZFS datasets cannot be created within a jail because it requires a kernel module. I also tried mounting a dataset in FreeNAS to /usr/docker in the jail which doesn't work either. Is this just not possible without official support in FreeNAS? Running FreeNAS-9.10-STABLE-201606270534. Information about the freebsd docker port here.
 

Robert Smith

Patron
Joined
May 4, 2014
Messages
270
Jail on FreeBSD is already what "container" is in Docker. I think Docker was modeled after FreeBSD jail system.
 

ghostdogg

Cadet
Joined
Apr 4, 2014
Messages
8
Thanks for the feedback. I'll wait for FreeNAS 10. I know jails have similar functionality to docker but I already have many containers that I would like to run and would like to not port them over to freebsd jails.
 
Status
Not open for further replies.
Top