-
Notifications
You must be signed in to change notification settings - Fork 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
Can not share the data between tasks: alloc
folder is not visible for template
section
#23416
Comments
Hi @EugenKon! The environment variable
|
This looks like a hack, but thanks. |
@tgross How to deal with this if
|
It looks like I need |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Issue
I am trying to share the data between tasks. Because first task is
exec
and second task isdocker
thealloc
folder is mounted directly into container https://developer.hashicorp.com/nomad/docs/runtime/environment#task-directories and is not visible totemplate
block of second task.Reproduction steps
Create two tasks, first one is 'prestart' and stores some data into
alloc
folder. The second task is a docker and tries to read data from the 'alloc` folder at template section.Expected Result
'alloc' should be visible from 'template' section for the task of 'docker' type.
Actual Result
The folder is not visible and data could not be shared.
Job file
Job file
The text was updated successfully, but these errors were encountered: