From affce38fc47f08dba18b488871b198679f740cc5 Mon Sep 17 00:00:00 2001 From: Gerard Ryan Date: Sun, 9 Aug 2020 20:13:21 +1000 Subject: [PATCH] docker-ce: Enabled cgroups v1 by default Signed-off-by: Gerard Ryan --- utils/docker-ce/Config.in | 8 ++++++-- utils/docker-ce/Makefile | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/utils/docker-ce/Config.in b/utils/docker-ce/Config.in index 56f1e0b577..7ccb22aedc 100644 --- a/utils/docker-ce/Config.in +++ b/utils/docker-ce/Config.in @@ -1,15 +1,16 @@ config DOCKER_KERNEL_OPTIONS bool "Enable Basic kernel support for Docker" depends on PACKAGE_docker-ce - default n + default y select KERNEL_CGROUPS select KERNEL_CGROUP_CPUACCT + select KERNEL_CGROUP_DEVICE + select KERNEL_CGROUP_FREEZER select KERNEL_CGROUP_SCHED select KERNEL_NAMESPACES select KERNEL_CPUSETS select KERNEL_MEMCG select KERNEL_KEYS - select KERNEL_DEVPTS_MULTIPLE_INSTANCES select KERNEL_POSIX_MQUEUE help Select needed kernel options for Docker. Options include @@ -35,7 +36,10 @@ config DOCKER_RES_SHAPE select KERNEL_BLK_DEV_THROTTLING select KERNEL_CFQ_GROUP_IOSCHED select KERNEL_CGROUP_PERF + select KERNEL_CGROUP_HUGETLB select KERNEL_FAIR_GROUP_SCHED + select KERNEL_NET_CLS_CGROUP + select KERNEL_CGROUP_NET_PRIO select KERNEL_CFS_BANDWIDTH select KERNEL_RT_GROUP_SCHED diff --git a/utils/docker-ce/Makefile b/utils/docker-ce/Makefile index 28ce543e42..e3496c4f71 100644 --- a/utils/docker-ce/Makefile +++ b/utils/docker-ce/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=docker-ce PKG_VERSION:=19.03.12 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_LICENSE:=Apache-2.0 PKG_LICENSE_FILES:=components/cli/LICENSE components/engine/LICENSE -- 2.30.2