在centos7.3上yum安装了docker  1.13.1版本

但是在运行:docker run hello-world的时候报错:

# docker run docker.io/hello-world
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.\""
/usr/bin/docker-current: Error response from daemon: 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.\"".

 解决:主要原因还是centos系统版本兼容性问题,如果将系统做更新升级,即可解决。(时间有点长,耐心等待)

yum update

更新前:

 

更新后:

 

 此时重启docker,运行hello-world: