VSock routes are local-only and unavailable with the multi-tenant deployment profile.
SandboxBuilder
builder.vsock()
Example
Example
2. Call repeatedly to add routes; each socket type and port pair must be unique.
Parameters
host_pathStringAbsolute path to the host socket or pipe.
portIntegerPort exposed to the guest.
Returns
SandboxBuilder
The builder, for chaining.
builder.vsock_dgram()
Parameters
host_pathStringAbsolute path to the host socket or pipe.
portIntegerPort exposed to the guest.
Returns
SandboxBuilder
The builder, for chaining.