最初,我是搭建一个.NET Docker环境前问,但后来发现连一个简单的hello-world都无法运行。当运行
docker run hello-world
当 docker run hello-world
docker: Error response from daemon: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/data/docker/containers/0b59d0f705a5cdcef4249f1d40f7f60bbf43d853bf5218c9de897adfd2bed0bd/resolv.conf" to rootfs at "/etc/resolv.conf": possibly malicious path detected -- refusing to operate on /etc/resolv.conf: unknown.
系统版本:centos 7.2 尝试多个docker版本26.1.4、19.03.19、18.09.18
该问题是由于您的内核版本过时造成的。 将 Linux 内核升级到最新版本并重试