code: func (c *client) ResizeTerminal(_ context.Context, containerID, processID string, width, height int) error {
  	_, p, err := c.getProcess(containerID, processID)
  	if err != nil {
  		return err
  	}
  
  	c.logger.WithFields(logrus.Fields{
  		"container": containerID,
  		"process":   processID,
  		"height":    height,
  		"width":     width,
  		"pid":       p.pid,
  	}).Debug("resizing")
  	return p.hcsProcess.ResizeConsole(uint16(width), uint16(height))
  }
docs: // Resize handles a CLI event to resize an interactive docker run or docker
  // exec window.