docker镜像运行不成功解决方法

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

你可能感兴趣的:(docker)