code: func (container *Container) AddMountPointWithVolume(destination string, vol volume.Volume, rw bool) {
  	operatingSystem := container.OS
  	if operatingSystem == "" {
  		operatingSystem = runtime.GOOS
  	}
  	volumeParser := volumemounts.NewParser(operatingSystem)
  	container.MountPoints[destination] = &volumemounts.MountPoint{
  		Type:        mounttypes.TypeVolume,
  		Name:        vol.Name(),
  		Driver:      vol.DriverName(),
  		Destination: destination,
  		RW:          rw,
  		Volume:      vol,
  		CopyData:    volumeParser.DefaultCopyMode(),
  	}
  }
docs: // AddMountPointWithVolume adds a new mount point configured with a volume to the container.