class_docstr: Docker container session
  
  Parameters
  ----------
  base_image_name : str
      Docker image name to use. Empty string means to use default "tlcpack/ci-hexagon"
      base image.
class_docstr_tok: ["Docker","container","session","Parameters","--","--","--","--","--","base_image_name",":","str","Docker","image","name","to","use",".","Empty","string","means","to","use","default","``","tlcpack\/ci-hexagon","''","base","image","."]
docstr: Execute command inside docker container
docstr_tok: ["Execute","command","inside","docker","container"]
code: def exec(self, cmd) -> str:
      """Execute command inside docker container"""
      exit_code, res = self._container.exec_run(cmd)
      assert exit_code == 0
      return res.decode("utf-8")
  
imports: import os
  import pathlib
  import re
  from typing import List, Union
  import subprocess
  import sys
  import tarfile
  import io
  import numpy
  import tvm
  import tvm.contrib.cc
  from ..._ffi.registry import register_func
label_desc: Use image node_id 6 for calling the ContainerSession obj's underlying member method code with example usage: obj.exec(cmd) and returns: res