Remove /run mount for backward compatibility with docker.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-09-09 07:34:00 +00:00
parent 159fa903cf
commit 0bfcdd39ab
3 changed files with 30 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ func (c *criContainerdService) generateSandboxContainerSpec(id string, config *r
imageConfig *imagespec.ImageConfig, nsPath string) (*runtimespec.Spec, error) {
// Creates a spec Generator with the default spec.
// TODO(random-liu): [P1] Compare the default settings with docker and containerd default.
spec, err := containerd.GenerateSpec(context.Background(), nil, nil)
spec, err := defaultRuntimeSpec()
if err != nil {
return nil, err
}