diff --git a/cmd/moby/config.go b/cmd/moby/config.go index 04e22914f..d52e54bc2 100644 --- a/cmd/moby/config.go +++ b/cmd/moby/config.go @@ -464,7 +464,7 @@ func ConfigInspectToOCI(yaml MobyImage, inspect types.ImageInspect) (specs.Spec, dest := parts[0] opts := []string{} if len(parts) == 2 { - opts = strings.Split(parts[2], ",") + opts = strings.Split(parts[1], ",") } mounts[dest] = specs.Mount{Destination: dest, Type: "tmpfs", Source: "tmpfs", Options: opts} }