mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
ae81ea069f
Since currently the container.json file does not include the pathname to a container's root filesystem, we need to parse /proc/mounts which is slow and error-prone. This patch addresses this issue by adding a new RootFs field. Signed-off-by: Saied Kazemi <saied@google.com>
11 lines
217 B
Go
11 lines
217 B
Go
package namespaces
|
|
|
|
import (
|
|
"os"
|
|
"os/exec"
|
|
|
|
"github.com/docker/libcontainer"
|
|
)
|
|
|
|
type CreateCommand func(container *libcontainer.Config, console, dataPath, init string, childPipe *os.File, args []string) *exec.Cmd
|