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)
Similar Posts:
- Docker startup container Error response from daemon: OCI runtime create failed: container_ linux.go:349
- Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus
- [Solved] OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown
- [Solved] OCI runtime exec failed……executable file not found in $PATH”: unknown
- docker: Error response from daemon: Conflict. The container name “/xx” is already in use
- [Solved] Docker Container Start Error: OCI runtime create failed: container with ID exists
- Docker Container Error:Failed to get D-Bus connection: Operation not permitted
- How to Solve docker run Error: oci runtime error
- [Solved] cannot kill Docker container – permission denied
- [Solved] Docker Starup Error: Failed to start Docker Application Container Engine.