bash standalone_embed.sh start Error response from daemon: failed to create task for…
- User
bash standalone_embed.sh start Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/esunit/test/test/milvus/embedEtcd.yaml" to rootfs at "/milvus/configs/embedEtcd.yaml": mount /home/esunit/test/test/milvus/embedEtcd.yaml:/milvus/configs/embedEtcd.yaml (via /proc/self/fd/6), flags: 0x5000: 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: milvus-standalone
- Assistant
The error you're encountering indicates that the Docker container initialization failed because of an issue related to mounting a file or directory. Specifically, Docker is attempting to mount a host file onto a path in the container expecting a directory or vice versa. Here's how you can troubleshoot and resolve this issue:
-
Check the Host Path:
- Ensure that the path on your host () is a file and not a directory. The error suggests there might be a mismatch between what's expected (file vs. directory).
-
- User
安装docker时出错信息 sudo apt-get install ./docker-desktop-4.30.0-amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'docker-desktop' instead of './docker-desktop-4.30.0-amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: docker-desktop : Depends: docker-ce-cli but it is not installable E: Unable to correct problems, you have held broken packages.
- Assistant