code: func (daemon *Daemon) CheckpointDelete(name string, config types.CheckpointDeleteOptions) error {
  	container, err := daemon.GetContainer(name)
  	if err != nil {
  		return err
  	}
  	checkpointDir, err := getCheckpointDir(config.CheckpointDir, config.CheckpointID, name, container.ID, container.CheckpointDir(), false)
  	if err == nil {
  		return os.RemoveAll(checkpointDir)
  	}
  	return err
  }
docs: // CheckpointDelete deletes the specified checkpoint