check support for cgroups and namespaces are in kernel

[root@centos7 ~]# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description:    CentOS Linux release 7.6.1810 (Core)
Release:    7.6.1810
Codename:   Core

[root@centos7 ~]# uname -r
3.10.0-957.21.3.el7.x86_64
[root@centos7 ~]# grep -i namespaces /boot/config-3.10.0-957.21.3.el7.x86_64
CONFIG_NAMESPACES=y
[root@centos7 ~]# grep -i cgroups /boot/config-3.10.0-957.21.3.el7.x86_64
CONFIG_CGROUPS=y
[root@centos7 ~]#
posted @ 2021-06-08 16:34  素丶素  阅读(47)  评论(0编辑  收藏  举报