You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.4 KiB

  1. menu "Kernel features for Docker"
  2. config DOCKER_KERNEL_OPTIONS
  3. bool "Enable Basic kernel support for Docker"
  4. default n
  5. select KERNEL_CGROUPS
  6. select KERNEL_CGROUP_CPUACCT
  7. select KERNEL_CGROUP_SCHED
  8. select KERNEL_NAMESPACES
  9. select KERNEL_CPUSETS
  10. select KERNEL_MEMCG
  11. select KERNEL_KEYS
  12. select KERNEL_DEVPTS_MULTIPLE_INSTANCES
  13. select KERNEL_POSIX_MQUEUE
  14. help
  15. Select needed kernel options for Docker. Options include
  16. cgroups, namespaces and other miscellaneous options.
  17. see also https://github.com/docker/engine/blob/master/contrib/check-config.sh
  18. config DOCKER_SECCOMP
  19. bool "Enable support for seccomp in Docker"
  20. default n
  21. select KERNEL_SECCOMP
  22. select PACKAGE_libseccomp
  23. help
  24. Build Docker with support for seccomp filters.
  25. Select libseccomp which also pulls-in the needed kernel features.
  26. config DOCKER_RES_SHAPE
  27. bool "Enables support for resource shaping"
  28. default n
  29. select KERNEL_MEMCG_SWAP
  30. select KERNEL_MEMCG_SWAP_ENABLED
  31. select KERNEL_BLK_DEV_THROTTLING
  32. select KERNEL_CFQ_GROUP_IOSCHED
  33. select KERNEL_CGROUP_PERF
  34. select KERNEL_FAIR_GROUP_SCHED
  35. select KERNEL_CFS_BANDWIDTH
  36. select KERNEL_RT_GROUP_SCHED
  37. menu "Network"
  38. config DOCKER_NET_OVERLAY
  39. bool "Enables the Overlay network feature"
  40. default n
  41. select PACKAGE_kmod-udptunnel4
  42. help
  43. Selects kernel options for the Overlay network feature.
  44. Includes udptunnel4
  45. config DOCKER_NET_ENCRYPT
  46. bool "Enable encrypted networking kernel support"
  47. depends on DOCKER_NET_OVERLAY
  48. default n
  49. select PACKAGE_kmod-ipsec
  50. select PACKAGE_kmod-ipsec4
  51. select PACKAGE_kmod-crypto-gcm
  52. select PACKAGE_kmod-crypto-ghash
  53. help
  54. Select needed kernel options for encrypted networking support.
  55. config DOCKER_NET_MACVLAN
  56. bool "Enables macvlan kernel support"
  57. default n
  58. select PACKAGE_kmod-macvlan
  59. select PACKAGE_kmod-dummy
  60. config DOCKER_NET_TFTP
  61. bool "Enable ftp/tftp client kernel support"
  62. default n
  63. select PACKAGE_kmod-nf-nathelper
  64. select PACKAGE_kmod-nf-nathelper-extra
  65. endmenu
  66. menu "Storage"
  67. config DOCKER_STO_EXT4
  68. bool "Enables support for ext3 or ext4 as the backing filesystem"
  69. default n
  70. select KERNEL_EXT4_FS_POSIX_ACL
  71. config DOCKER_STO_BTRFS
  72. bool "Enables support for btrfs as the backing filesystem"
  73. default n
  74. select PACKAGE_kmod-fs-btrfs
  75. select KERNEL_BTRFS_FS_POSIX_ACL
  76. endmenu
  77. endmenu