code: func (container *Container) GetMountPoints() []types.MountPoint {
  	mountPoints := make([]types.MountPoint, 0, len(container.MountPoints))
  	for _, m := range container.MountPoints {
  		mountPoints = append(mountPoints, types.MountPoint{
  			Type:        m.Type,
  			Name:        m.Name,
  			Source:      m.Path(),
  			Destination: m.Destination,
  			Driver:      m.Driver,
  			Mode:        m.Mode,
  			RW:          m.RW,
  			Propagation: m.Propagation,
  		})
  	}
  	return mountPoints
  }
docs: // GetMountPoints gives a platform specific transformation to types.MountPoint. Callers must hold a Container lock.