code: func (c *containerConfig) volumeCreateRequest(mount *api.Mount) *volume.VolumeCreateBody {
  	var (
  		driverName string
  		driverOpts map[string]string
  		labels     map[string]string
  	)
  
  	if mount.VolumeOptions != nil && mount.VolumeOptions.DriverConfig != nil {
  		driverName = mount.VolumeOptions.DriverConfig.Name
  		driverOpts = mount.VolumeOptions.DriverConfig.Options
  		labels = mount.VolumeOptions.Labels
  	}
  
  	return &volume.VolumeCreateBody{
  		Name:       mount.Source,
  		Driver:     driverName,
  		DriverOpts: driverOpts,
  		Labels:     labels,
  	}
  }
docs: // This handles the case of volumes that are defined inside a service Mount