Browse Source

Merge pull request #13061 from G-M0N3Y-2503/docker-cgroups-v1

docker-ce: Enabled cgroups v1 by default
lilik-openwrt-22.03
Florian Eckert 4 years ago
committed by GitHub
parent
commit
346e44d207
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions
  1. +6
    -2
      utils/docker-ce/Config.in
  2. +1
    -1
      utils/docker-ce/Makefile

+ 6
- 2
utils/docker-ce/Config.in View File

@ -1,15 +1,16 @@
config DOCKER_KERNEL_OPTIONS config DOCKER_KERNEL_OPTIONS
bool "Enable Basic kernel support for Docker" bool "Enable Basic kernel support for Docker"
depends on PACKAGE_docker-ce depends on PACKAGE_docker-ce
default n
default y
select KERNEL_CGROUPS select KERNEL_CGROUPS
select KERNEL_CGROUP_CPUACCT select KERNEL_CGROUP_CPUACCT
select KERNEL_CGROUP_DEVICE
select KERNEL_CGROUP_FREEZER
select KERNEL_CGROUP_SCHED select KERNEL_CGROUP_SCHED
select KERNEL_NAMESPACES select KERNEL_NAMESPACES
select KERNEL_CPUSETS select KERNEL_CPUSETS
select KERNEL_MEMCG select KERNEL_MEMCG
select KERNEL_KEYS select KERNEL_KEYS
select KERNEL_DEVPTS_MULTIPLE_INSTANCES
select KERNEL_POSIX_MQUEUE select KERNEL_POSIX_MQUEUE
help help
Select needed kernel options for Docker. Options include Select needed kernel options for Docker. Options include
@ -35,7 +36,10 @@ config DOCKER_RES_SHAPE
select KERNEL_BLK_DEV_THROTTLING select KERNEL_BLK_DEV_THROTTLING
select KERNEL_CFQ_GROUP_IOSCHED select KERNEL_CFQ_GROUP_IOSCHED
select KERNEL_CGROUP_PERF select KERNEL_CGROUP_PERF
select KERNEL_CGROUP_HUGETLB
select KERNEL_FAIR_GROUP_SCHED select KERNEL_FAIR_GROUP_SCHED
select KERNEL_NET_CLS_CGROUP
select KERNEL_CGROUP_NET_PRIO
select KERNEL_CFS_BANDWIDTH select KERNEL_CFS_BANDWIDTH
select KERNEL_RT_GROUP_SCHED select KERNEL_RT_GROUP_SCHED


+ 1
- 1
utils/docker-ce/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=docker-ce PKG_NAME:=docker-ce
PKG_VERSION:=19.03.12 PKG_VERSION:=19.03.12
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_LICENSE:=Apache-2.0 PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=components/cli/LICENSE components/engine/LICENSE PKG_LICENSE_FILES:=components/cli/LICENSE components/engine/LICENSE


Loading…
Cancel
Save