diff --git a/container.go b/container.go index 5ddb07562c..bca6b52c61 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 {