-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Share files and folders between containers within a workspace #16197
Comments
@svkr2k Thank you for your question. I think you can't do that at this moment.
|
Hi @skabashnyuk , thank you ! In the example https://github.com/eclipse/che-plugin-registry/blob/master/v3/plugins/eclipse/che-theia/next/meta.yaml#L70, "/plugins" folder is mounted.
|
@svkr2k as far as I know, volumes always start empty in kubernetes/OpenShift. There were conversations in the past about cases where this is possible, but it sounded like not the thing to do. |
Thank you, @tsmaeder . I shall try... |
@ericwill can you add update here? |
Documentation for mounting
I believe these items are belong to the platform team, cc @skabashnyuk |
4 weeks later... slip to backlog. |
The issues at hand here have been documented already, there is nothing pending from the plugins side. Please reopen the issue if you continue to experience a problem. |
I would like to share a large set of files between two containers in a workspace.
Currently, in order to share the certain files under a folder, I included the following mount paths in the plugin description yaml (which is referenced in devfile) for both the containers:
This seem to work when the testFolder is empty. so that the files generated by one container can be accessed by another container.
But, I would like to share the folders that are "pre-populated" or it already contains a large set of files and multiple containers with in a workspace needs to use them.
How can it be done ? mountPath doesnt seem to work. When I tried to mounth the path as shown above, the container sees an empty mounted folder. Please help.
The text was updated successfully, but these errors were encountered: