code: func getStage1Entrypoint(cdir string, entrypoint string) (string, error) {
  	b, err := ioutil.ReadFile(common.Stage1ManifestPath(cdir))
  	if err != nil {
  		return "", errwrap.Wrap(errors.New("error reading pod manifest"), err)
  	}
  
  	s1m := schema.ImageManifest{}
  	if err := json.Unmarshal(b, &s1m); err != nil {
  		return "", errwrap.Wrap(errors.New("error unmarshaling stage1 manifest"), err)
  	}
  
  	if ep, ok := s1m.Annotations.Get(entrypoint); ok {
  		return ep, nil
  	}
  
  	return "", fmt.Errorf("entrypoint %q not found", entrypoint)
  }
docs: // getStage1Entrypoint retrieves the named entrypoint from the stage1 manifest for a given pod