Class: Hermetic::Backends::Gvisor
- Defined in:
- lib/hermetic/backends/gvisor.rb
Overview
gVisor: Docker's hardened front-end, but the container runs under the runsc user-space kernel — a real syscall boundary instead of shared host-kernel namespaces. Still trust :host: the isolation is stronger, but the daemon this adapter shells to lives on the app host — isolation strength and trust domain are independent axes (spec §3).
Constant Summary collapse
- RUNSC =
"runsc"
Constants inherited from Base
Base::OFF_HOST_TRUST, Base::TIMEOUT_EXIT
Instance Attribute Summary
Attributes inherited from Docker
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(image:, runtime: RUNSC, **opts) ⇒ Gvisor
constructor
A new instance of Gvisor.
Methods inherited from Docker
#bootstrap_script, #container_argv
Methods inherited from Base
#backend_name, #enabled?, #off_host?, #run