docker-compose up 报错

使用Docker安装Dgraph时,报错如下:

liangkai-vm [/home/liangkai] 04/27/19 10:49:06
root@0 # docker-compose up -d
Creating network "liangkai_default" with the default driver
Creating liangkai_ratel_1 ... 
Creating liangkai_server_1 ... error
Creating liangkai_zero_1   ... 

ERROR: for liangkai_server_1  Cannot start service server: oci runtime error: container_linux.go:247: starting container process cauCreating liangkai_ratel_1  ... error
ty.\""


ERROR: for liangkai_ratel_1  Cannot start service ratel: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""
Creating liangkai_zero_1   ... error

ERROR: for liangkai_zero_1  Cannot start service zero: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""


ERROR: for server  Cannot start service server: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""


ERROR: for ratel  Cannot start service ratel: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""


ERROR: for zero  Cannot start service zero: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""

ERROR: Encountered errors while bringing up the project.

解决方法:
升级linux内核参数后恢复

yum upgrade

你可能感兴趣的:(Docker)