MCPcopy Create free account
hub / github.com/containerd/nerdctl / WithoutRunMount

Function WithoutRunMount

pkg/cmd/container/run_linux.go:42–44  ·  view source on GitHub ↗

WithoutRunMount returns a SpecOpts that unmounts the default tmpfs on "/run"

()

Source from the content-addressed store, hash-verified

40
41// WithoutRunMount returns a SpecOpts that unmounts the default tmpfs on "/run"
42func WithoutRunMount() func(ctx context.Context, client oci.Client, c *containers.Container, s *oci.Spec) error {
43 return oci.WithoutRunMount
44}
45
46func setPlatformOptions(ctx context.Context, client *containerd.Client, id, uts string, internalLabels *internalLabels, options types.ContainerCreateOptions) ([]oci.SpecOpts, error) {
47 var opts []oci.SpecOpts

Callers 1

setPlatformOptionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…