shim

module
v0.0.0-...-205ecf7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2018 License: Apache-2.0

README

Build Status Build Status Build Status Coverity

cc-shim

cc-shim is a process spawned by the runtime per container workload. The runtime provides the pid of the cc-shim process to containerd-shim on OCI create command.

Usage: cc-shim --container-id $(container_id) --token $(token) --uri $(uri)

$(uri) is the proxy connection uri passed to the shim (by the runtime). Supported schemes are unix:// and tcp://. The shim uses this to open a unix socket/tcp connection with the proxy.

$(token) is a connection token generated by the proxy while connecting to the runtime.

The shim communicates with the proxy using the protocol defined in the package API documents.

cc-shim forwards all signals to the cc-proxy process to be handled by the agent in the VM.

The shim forwards any input received from containerd-shim to cc-proxy and writes any stream data received from the proxy to its stdout/stderr streams.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL