This is the error reported to start the container, docker logs is not, the container is created, but can not start the container
Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:58: mounting \”/etc/timezone\” to rootfs \”/var/lib/docker/overlay2/132f5ea82c98a1206ccb13e13f06c96737036c722c290e989b462c2d77458a8f/merged\” at \”/var/lib/docker/overlay2/132f5ea82c98a1206ccb13e13f06c96737036c722c290e989b462c2d77458a8f/merged/etc/timezone\” 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
Error: failed to start containers: 6e3a9e751884
Check that it is a mapping problem, after checking that the host does not have a directory to be mapped, create the directory and the container will start normally.
Tag Archives: cents
Linux encountered a problem when installing RPM package error:Failed dependencies Solution method
Environment: CentOS 7.2 + mysql-server-5.5.31-2.el6.i686.rpm
Problems encountered:
[ root@sh158-xen data]#rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm
error: Failed dependencies:
libaio.so.1 is needed by MySQL-server-5.5.31-2.el6.i686
libaio.so.1(LIBAIO_ 0.1) is needed by MySQL-server-5.5.31-2.el6.i686
libaio.so.1(LIBAIO_ 0.4) is needed by MySQL-server-5.5.31-2.el6.i686
After struggling for a long time, we finally found a solution: (thank you for providing relevant articles)
Add two parameters after the installation package, such as
[ root@VM_ 55_ 2_ centos mysql]# rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm –nodeps –force
Preparing… ########################################### [ 100%]
1:MySQL-server ########################################### [ 100%]
The significance of adding those two parameters is that during installation,
the dependency relationship between packages is no longer analyzed and the package is installed directly,
there will be no error such as error: failed dependencies