Merge pull request #18472 from sotux/master
[feed/packages.git] / utils / dockerd / Config.in
1 config DOCKER_CHECK_CONFIG
2 bool "Installs check-config.sh with dependencies"
3 default n
4 depends on PACKAGE_dockerd
5 select PACKAGE_bash
6 select PACKAGE_kmod-ikconfig
7
8 # These options are mostly specified by https://github.com/moby/moby/blob/master/contrib/check-config.sh
9
10 config DOCKER_CGROUP_OPTIONS
11 bool "Enable available kernel support for CGroupsV1"
12 default n
13 depends on PACKAGE_dockerd
14 select KERNEL_CGROUP_DEVICE
15 select KERNEL_CGROUP_FREEZER
16 select KERNEL_NET_CLS_CGROUP
17 select KERNEL_CGROUP_NET_PRIO
18 select PACKAGE_cgroupfs-mount
19 help
20 Selects kernel options to enable CGroups V1.
21
22 config DOCKER_OPTIONAL_FEATURES
23 bool "Enable optional kernel support for Docker"
24 default n
25 depends on PACKAGE_dockerd
26 select KERNEL_MEMCG_SWAP_ENABLED
27 select KERNEL_CFQ_GROUP_IOSCHED
28 select KERNEL_CGROUP_PERF
29 select KERNEL_CGROUP_HUGETLB
30 help
31 Select 'Optional Features' kernel options for Docker that are unselected.
32 See https://github.com/moby/moby/blob/master/contrib/check-config.sh
33
34 menu "Network"
35 depends on PACKAGE_dockerd
36
37 config DOCKER_NET_OVERLAY
38 bool "Includes the Overlay network feature"
39 default n
40 select PACKAGE_kmod-vxlan
41 help
42 Selects kmod-vxlan for the Overlay network feature.
43
44 config DOCKER_NET_ENCRYPT
45 bool "Includes encrypted networking kernel modules"
46 depends on DOCKER_NET_OVERLAY
47 default n
48 select PACKAGE_kmod-crypto-gcm
49 select PACKAGE_kmod-crypto-seqiv
50 select PACKAGE_kmod-crypto-ghash
51 select PACKAGE_kmod-ipsec
52 help
53 Select needed kernel modules for encrypted networking support.
54
55 config DOCKER_NET_MACVLAN
56 bool "Includes macvlan kernel modules"
57 default n
58 select PACKAGE_kmod-macvlan
59 select PACKAGE_kmod-dummy
60
61 config DOCKER_NET_TFTP
62 bool "Includes ftp/tftp client kernel modules"
63 default n
64 select PACKAGE_kmod-nf-nathelper
65 select PACKAGE_kmod-nf-nathelper-extra
66 endmenu
67
68 menu "Storage"
69 depends on PACKAGE_dockerd
70
71 config DOCKER_STO_DEVMAPPER
72 bool "Enables support for devmapper snapshotting"
73 default n
74 select PACKAGE_libdevmapper
75
76 config DOCKER_STO_EXT4
77 bool "Enables support for ext3 or ext4 as the backing filesystem"
78 default n
79 select KERNEL_EXT4_FS_POSIX_ACL
80 select KERNEL_EXT4_FS_SECURITY
81
82 config DOCKER_STO_BTRFS
83 bool "Enables support for btrfs as the backing filesystem"
84 default n
85 select KERNEL_BTRFS_FS_POSIX_ACL
86 select PACKAGE_btrfs-progs
87 endmenu