Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithImageUnpack ¶
func WithImageUnpack(i containerd.Image) containerd.NewContainerOpts
WithImageUnpack guarantees that the image used by the container is unpacked.
func WithVolumes ¶
func WithVolumes(volumeMounts map[string]string) containerd.NewContainerOpts
WithVolumes copies ownership of volume in rootfs to its corresponding host path. It doesn't update runtime spec. The passed in map is a host path to container path map for all volumes. TODO(random-liu): Figure out whether we need to copy volume content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.