• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Best way to use Docker on FreeBSD server

hoppel

New Member

Thanks: 4
Messages: 11

#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?
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,993
Best answers: 10
Messages: 26,751

#2

hoppel

New Member

Thanks: 4
Messages: 11

#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