code: func StopPod(dir string, force bool, uuid *types.UUID) error {
  	s1rootfs := common.Stage1RootfsPath(dir)
  
  	if err := os.Chdir(dir); err != nil {
  		return fmt.Errorf("failed changing to dir: %v", err)
  	}
  
  	ep, err := getStage1Entrypoint(dir, stopEntrypoint)
  	if err != nil {
  		return fmt.Errorf("rkt stop not implemented for pod's stage1: %v", err)
  	}
  	args := []string{filepath.Join(s1rootfs, ep)}
  	debug("Execing %s", ep)
  
  	if force {
  		args = append(args, "--force")
  	}
  
  	args = append(args, uuid.String())
  
  	c := exec.Cmd{
  		Path:   args[0],
  		Args:   args,
  		Stdout: os.Stdout,
  		Stderr: os.Stderr,
  	}
  
  	return c.Run()
  }
docs: // StopPod stops the given pod.