[root@izbp145axkc98giot5b448z ~]# docker run -d 231d40e811cd -p 80:80 --name=nginx
56896ff0b49cfe5f15a8b4b517c4b6774ca49f52348d6179efd350c1e8977441
/usr/bin/docker-current: Error response from daemon: 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系统版本兼容性问题,如果将系统做更新升级,即可解决。

[root@izbp145axkc98giot5b448z ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package GeoIP.x86_64 0:1.5.0-11.el7 will be updated
---> Package GeoIP.x86_64 0:1.5.0-14.el7 will be an update
--> Processing Dependency: geoipupdate for package: GeoIP-1.5.0-14.el7.x86_64
---> Package NetworkManager.x86_64 1:1.4.0-20.el7_3 will be obsolet
[root@izbp145axkc98giot5b448z ~]# docker run -d -p 80:80 --name=nginx 231d40e811cd
a7a0bfcac964ce1706514b6d07b4500600cb216ebbcd59474f23023ff4c9d623
[root@izbp145axkc98giot5b448z ~]# docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                NAMES
a7a0bfcac964        231d40e811cd        "nginx -g 'daemon ..."   5 seconds ago       Up 4 seconds        0.0.0.0:80->80/tcp   nginx