docker安装后运行hello-world报错


在centos7.3上yum安装了docker V1.13。1
docker安装后运行hello-world报错

但是在运行: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报错

更新后:

docker安装后运行hello-world报错

 

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

docker安装后运行hello-world报错

 

上一篇:network error:software caused connection abort


下一篇:Caused by com microsoft sqlserver jdbc SQLServerException