package specconv

import "github.com/moby/buildkit/util/rootless/specconv"

Index

Functions

func ToRootless

func ToRootless(spec *specs.Spec) error

ToRootless converts spec to be compatible with "rootless" runc. * Adds userns (Note: since we are already in userns, ideally we should not need to do this. runc-side issue is tracked at https://github.com/opencontainers/runc/issues/1837) * Fix up mount flags (same as above) * Replace /sys with bind-mount (FIXME: we don't need to do this if netns is unshared)

Source Files

specconv_linux.go

Version
v0.3.0
Published
Oct 12, 2018
Platform
linux/amd64
Imports
7 packages
Last checked
2 hours ago

Tools for package owners.