出错信息
在一台新装的Centos7虚拟机上运行Docker,提示错误
ERROR: for hello_world Cannot start service hello_world: oci runtime error: container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup configuration for process caused \"Cannot set property TasksAccounting, or unknown property.\""
解决方法
原因是centos系统版本落后,通过yum更新后重启即可
yum update -y
shutdown -r