code: func (s *Server) StartContainer(ctx context.Context, req *pb.StartContainerRequest) (resp *pb.StartContainerResponse, err error) {
  	const operation = "start_container"
  	defer func() {
  		recordOperation(operation, time.Now())
  		recordError(operation, err)
  	}()
  	logrus.Debugf("StartContainerRequest %+v", req)
  	c, err := s.GetContainerFromShortID(req.ContainerId)
  	if err != nil {
  		return nil, err
  	}
  	state := c.State()
  	if state.Status != oci.ContainerStateCreated {
  		return nil, fmt.Errorf("container %s is not in created state: %s", c.ID(), state.Status)
  	}
  
  	defer func() {
  		// if the call to StartContainer fails below we still want to fill
  		// some fields of a container status. In particular, we're going to
  		// adjust container started/finished time and set an error to be
  		// returned in the Reason field for container status call.
  		if err != nil {
  			c.SetStartFailed(err)
  		}
  		s.ContainerStateToDisk(c)
  	}()
  
  	err = s.Runtime().StartContainer(c)
  	if err != nil {
  		return nil, fmt.Errorf("failed to start container %s: %v", c.ID(), err)
  	}
  
  	logrus.Infof("Started container: %s", c.Description())
  	resp = &pb.StartContainerResponse{}
  	logrus.Debugf("StartContainerResponse %+v", resp)
  	return resp, nil
  }
docs: // StartContainer starts the container.