Best way to use Docker on FreeBSD server

hoppel

New Member

Thanks: 4
Messages: 14

#1
Hello,

I have to use docker for https://nextcloud.com/collaboraonline/

What is the best way to use docker on a FreeBSD 11.x server? Requirement: Package(s) must have a minimal impact of the root system. All my services runs in a jail. My root system is only built up with iocage and portmaster. I don't want to install a experimental docker package in my root system.

I read few tutorial, are following things right?
- to run docker I need to create a zpool and create a zfs file system (zfs create)
- that cannot be done in a jail or I have to tear down the security policy?
Code:
security.jail.enforce_statfs
security.jail.mount_allowed
security.jail.mount_devfs_allowed
security.jail.mount_zfs_allowed
- iohyve cannot run in a jail as well? the same thing for iohyve with the zfs settings.



What is the best way to use docker in freebsd?
 
OP
OP
hoppel

hoppel

New Member

Thanks: 4
Messages: 14

#3
thanks. Thats the reason why I prefer iohyve and a linux image to run inside the linux vm docker.

Does somebody has a config like this?

Steffen
 
Top