lavabit / robox

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
634 stars 140 forks source link

Enable Docker for Gentoo #116

Open oxr463 opened 4 years ago

oxr463 commented 4 years ago

These are the kernel options required that are missing from the latest vagrant box kernel:

ZFS is also required:

See: https://github.com/moby/moby/blob/master/contrib/check-config.sh

ladar commented 4 years ago

Before:

CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_BRIDGE_NETFILTER=y
# CONFIG_VXLAN is not set
CONFIG_EXT3_FS_XATTR=y
# CONFIG_BTRFS_FS is not set

And starting with 3.0.0:

CONFIG_NF_CONNTRACK_TFTP=y
CONFIG_NF_NAT_TFTP=y
CONFIG_NETFILTER_XT_MATCH_IPVS=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_BRIDGE_NETFILTER=y
CONFIG_VXLAN=y
CONFIG_AUFS_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_BTRFS_FS=y
CONFIG_BTRFS_FS_POSIX_ACL=y

@oxr463 As for ZFS/ZPOOL does that mean installing the sys-fs/zfs or enabling another kernel config option?

oxr463 commented 4 years ago

@oxr463 As for ZFS/ZPOOL does that mean installing the sys-fs/zfs or enabling another kernel config option?

Both actually.

ladar commented 4 years ago

@oxr463 I saw a CONFIG_ZPOOL option, but nothing for ZFS. Might be to new. Do you know what the ZFS config param is?

oxr463 commented 4 years ago

@oxr463 I saw a CONFIG_ZPOOL option, but nothing for ZFS. Might be to new. Do you know what the ZFS config param is?

Check this out, https://wiki.gentoo.org/wiki/ZFS#Kernel

ladar commented 4 years ago

I'll have to experiment once the 3.0.0 release is done. I don't want to make a change that breaks the pipeline.

oxr463 commented 4 years ago

@ladar any updates?