-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker run with bind mount: stat /bin/bash: no such file or directory: unknown #3378
Comments
I've hit a similar issue using the minikube kvm2 plugin on Ubuntu Xenial and my own CSI plugin. Both the Controller and the Node pieces hit the same issue.
|
FWIW, I don't yet know enough about Docker and bind mounts to say if this should even work. This command behaves the same way for me outside of minikube. |
AFAIR it worked well when I ran minikube outside of VM, so I guess this issue might be related to an OS running inside VM. |
This also appears to happen to me |
Correct, this only happens if you run docker from inside of minikube. This issue still exists in minikube v1.1. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Fixed by minikube v1.4, probably with rootfs -> tmpfs migration.
Starting with /bin/sh works perfectly. |
Any help? |
Environment:
Minikube version: v0.30.0
What happened:
I had a problem deploying CSI driver pod on minikube and was able to trace it down to a simple usecase. When I try to deploy this in minikube's docker:
The result docker returns is:
After that docker is no longer responsible via
unix:///var/run/docker.sock
:Even though I can still reach it via http:
As you can see the container I was trying to deploy is still there in "Created" state.
Relevant docker logs are here:
What you expected to happen:
I'd expect the volume to be mounted without error, or if there's an error I'd expect it to not corrupt VM environment.
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: