Neighborhood CentOS, do not support the problem of user namespace

Docker start a container when the increase -m parameter set memory, suggesting that the error
WARNING: Your kernel does not support swap limit capabilities.

My Docker escalated to 1.6:

  [Root @ 192 yum.repos.d] # docker version 
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS / Arch (client): linux / amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS / Arch (server): linux / amd64

The kernel is 3.10, as follows:

  [Root @ 192 yum.repos.d] # uname -a 
** Linux 3.10.78 ** - 1.el6.elrepo.x86_64 # 1 SMP Wed May 13 14:37:49 EDT 2015 x86_64 x86_64 x86_64 GNU / Linux

Lxc-checkconfig results are as follows:

  [Root @ 192 ~] # lxc-checkconfig 
Kernel configuration not found at /proc/config.gz; searching ...
Kernel configuration found at /boot/config-3.10.78-1.el6.elrepo.x86_64
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
** User namespace: missing **
Network namespace: enabled
Multiple / dev / pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled

Note: Before booting a new kernel, you can check its configuration
Usage: CONFIG = / path / to / config / usr / bin / lxc-checkconfig

Online check a lot, but no one can solve this problem, neighborhoods 2015-06-01 add comment share it

  • Weibo
  • Micro letter

Did not find the relevant results


    Wangzi19870227 – sina siege lion, docker lovers

    We agreed from:

    There is a friend's question, also encountered a No swap limit support problem , see the solution to see

    Heads up! This alert needs your attention, but it's not super important.