-
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
Support multiple --mount-string arguments #12733
Comments
/assign mans0954 |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
One thing I'm not sure of is whether 9P supports multiple string arguments out of box or if we're going to have to loop over all the mount strings. Doesn't matter either way, but just something to think about. |
I sketched out a solution to this in #12734 - I still think it would be a useful feature, but haven't had time to finish it myself. |
When run with the docker driver, minikube takes a
--mount-string
argument. Provided the minikube container does not yet exist, it is created with the specified host folder or docker volume mounted at the specified location e.g.Mounts the
host_volume
docker volume at/mount_point
in the minikube container.In fact the
--mount-string
flag can be specified multiple times, but only the last specified is used.A very small change to
cmd/minikube/cmd/start_flags.go
would allow multiple--mount-string
arguments to be used.The text was updated successfully, but these errors were encountered: