docker告警
Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
/etc/default/grub文件末尾添加
vi /etc/default/grub
...
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
更新grub,重启服务器
update-grub
reboot
标签:grub,default,etc,swap,cgroup,警告,Docker
From: https://www.cnblogs.com/wes1502/p/17603464.html