Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Example ¶ added in v0.4.6
Example returns an example spec file, used as a "good sane default". XXX: Really we should just use runc's directly.
func MutateRuntimeSpec ¶
MutateRuntimeSpec mutates a given runtime configuration with the image configuration provided.
func ToRootless ¶ added in v0.4.6
ToRootless converts a specification to a version that works with rootless containers. This is done by removing options and other settings that clash with unprivileged user namespaces.
func ToRuntimeSpec ¶
ToRuntimeSpec converts the given OCI image configuration to a runtime configuration appropriate for use, which is templated on the default configuration specified by the OCI runtime-tools. It is equivalent to MutateRuntimeSpec("runtime-tools/generate".New(), image).Spec().
Types ¶
This section is empty.