Hi I need to re-open this issue. I am unable to recreate the solution.
In my task file I use:
"Config": {
"image": "tait2:latest",
"load": "/media/tait2.tar",
"args": [],
"command": ""
},
when nomad runs this job it tries to load the tar from a relative path and no the direct math I mentioned, as seen in the below alloc message:
Recent Events:
Time Type Description
2021-12-12T16:06:10-05:00 Not Restarting Error was unrecoverable
2021-12-12T16:06:10-05:00 Driver Failure unable to open image archive: open /opt/nomad/alloc/94bae0df-b764-eccb-0000-97a8baf90c42/update_status_task/local/media/tait2.tar: no such file or directory
2021-12-12T16:06:10-05:00 Task Setup Building Task Directory
2021-12-12T16:06:10-05:00 Received Task received by client