code: func NewContainer(id string, name string, bundlePath string, logPath string, netns string, labels map[string]string, crioAnnotations map[string]string, annotations map[string]string, image string, imageName string, imageRef string, metadata *pb.ContainerMetadata, sandbox string, terminal bool, stdin bool, stdinOnce bool, privileged bool, runtimeHandler string, dir string, created time.Time, stopSignal string) (*Container, error) {
  	state := &ContainerState{}
  	state.Created = created
  	c := &Container{
  		id:              id,
  		name:            name,
  		bundlePath:      bundlePath,
  		logPath:         logPath,
  		labels:          labels,
  		sandbox:         sandbox,
  		netns:           netns,
  		terminal:        terminal,
  		stdin:           stdin,
  		stdinOnce:       stdinOnce,
  		privileged:      privileged,
  		runtimeHandler:  runtimeHandler,
  		metadata:        metadata,
  		annotations:     annotations,
  		crioAnnotations: crioAnnotations,
  		image:           image,
  		imageName:       imageName,
  		imageRef:        imageRef,
  		dir:             dir,
  		state:           state,
  		stopSignal:      stopSignal,
  	}
  	return c, nil
  }
docs: // NewContainer creates a container object.