I found an example of traversing parent directories in order to reach into the alloc/
directory.
task "app" {
driver = "docker"
config {
load = "../../${NOMAD_ALLOC_DIR}/docker-image.tar"
image = "docker-image"
}
}
This does seem to at least move me past one error, and into another:
open /var/lib/docker/tmp/docker-import-018997931/bin/json: no such file or directory
This may be just a problem with the image. I will need to verify the image is valid.