diff --git a/container.go b/container.go index 5ddb07562ce93c9541cffeafc71bcdd526d7bceb..bca6b52c6159ea0d6be22d2882e3443f144466d9 100644 --- a/container.go +++ b/container.go @@ -648,7 +648,7 @@ func (container *Container) Start(hostConfig *HostConfig) error { continue } if err := os.MkdirAll(path.Join(container.RootfsPath(), volPath), 0755); err != nil { - return nil + return err } container.Volumes[volPath] = id if isRW, exists := c.VolumesRW[volPath]; exists {