Tag Archives: informal essay

failed: OCI runtime create failed: container_linux.go:348

Reprinted in http://blog.c7d8.com/blog/16.html , the original text may be updated, subject to the original text
today, we tried to deploy a Hadoop docker cluster for testing, and the results are as follows

starting container failed: OCI runtime create failed: container_linux.go:348: starting container process caused 
"process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting 
\\\"/var/lib/docker/volumes/hadoop/datanode1\\\" to rootfs 
\\\"/var/lib/docker/overlay2/8a9722115ad9306b88eb4d5baaddb828cea4b20fbda0d0eb70ce4b3aaa3b39a6/merged\\\" at 
\\\"/var/lib/docker/overlay2/8a9722115ad9306b88eb4d5baaddb828cea4b20fbda0d0eb70ce4b3aaa3b39a6/merged/hadoop/dfs/data\\\"
caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)?Check if 
the specified host path exists and is the expected type

Later, refer to: error response from daemon: OCI runtime create failed – CSDN blog
for reference https://blog.csdn.net/qq_ 39548286/article/details/79416275

Upgrade the system to the latest 7.5 solution (because the system only has docker installed, so execute Yum update – y decisively)