Unix & Linux
centos docker alpine-linux
Updated Fri, 20 May 2022 06:22:07 GMT

Can’t run docker containers in linux CentOS, how to fix it?


Cant run docker containers in linux CentOS, how to fix it?

[root@mycentos ~]# docker run alpine
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.\""
/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.\"".



Solution

Same here after a clean CentOS install. It was fixed after running:

yum -y update
reboot




Comments (1)

  • +0 – Ran into same issue and this helped. Did not need to reboot. Just restart Docker. — Apr 09, 2020 at 17:04