-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Relative volume path in Kube yaml is not resolved #3029
Comments
@Fodoj just to make sure, are you expecting the path to be based on the kube yaml location? |
Good question... I think that would make more sense than relative to where podman runs from, but no idea what's the way to go, really |
Relative mounts working right now are honestly more of an accident than anything. I don't think we consider them supported, so if we want to change where they're relative to (such that they make more sense), I'd be fine with that. Directory Podman is being run from would seem to make the most sense to me. (We'll probably have to resolve the relative paths before we pass them into Libpod to do this, but that's not a particularly big deal now that we have a common path for all mounts code) |
where do we stand |
@QiWang19 I seem to remember you doing work with resolving relative paths, is that the case? |
I have this PR #3537 to convert the src path to absolute path |
this doesn't work on windows (from the outside). it does work if i use podman inside podman-machine-default inside wsl (which by default mounts the current dir). |
For example:
Will result in volume simply ignored. Podman 1.3.0-dev, Fedora Workstation 29.
The text was updated successfully, but these errors were encountered: