|
|
|
|
|
by all2
1152 days ago
|
|
What I think I'm reading here is that the abstraction is misplaced. How then would one leverage 9p filesystems to solve the containerization problem? I've had vague intuitions that Plan9 would have elegantly solved some of our problems that Docker, Terraform, Kubernetes, etc. were all created to be solutions for. But I'm unsure as to the proper shape of the solution. |
|
In Plan 9, processes are sandboxed by default, so they only see what is exposed to them. You utilize mounts to attach filesystems to processes, and since all APIs are done through the filesystem, you can trivially wrap/extend/replace those APIs with different implementations.
Essentially, everything-is-a-filesystem + 9p gave you a kind of capability-based security.