Closed sboisson closed 6 years ago
Thanks for opening this request- Nomad 0.9 will add support for pluggable externally-maintained drivers, so this is something that can be externally written and used by the community in later Nomad releases.
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Facebook has developed and deployed XARs, or eXecutable ARchives, a system for distributing self-contained executables that encapsulate both data and code dependencies.
https://code.fb.com/data-infrastructure/xars-a-more-efficient-open-source-system-for-self-contained-executables/
A XAR is a simple combination of a few primitives:
#!/usr/bin/env xarexec_fuse
)xarexec_fuse
, that knows how to read the XAR file, mount it if necessary, and execute the Python (or Lua or …) script insidesquashfuse_ll
, that is responsible for making the squashfs file look like a normal directory of files (and, by using FUSE, XARs don’t require root to run and can run on OS X).https://github.com/facebookincubator/xar