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: Upload file to docker container
docstr_tok: ["Upload","file","to","docker","container"]
code: def copy_to(self, host_file_path: str) -> str:
      """Upload file to docker container"""
      file_name = os.path.basename(host_file_path)
  
      byte_stream = io.BytesIO()
      with tarfile.open(fileobj=byte_stream, mode="w:gz") as tar:
          tar.add(host_file_path, arcname=file_name)
  
      self._container.put_archive(
          path=self.tmp_dir, data=byte_stream.getvalue()
      )
  
      return f"{self.tmp_dir}/{file_name}"
  
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 8 for calling the ContainerSession obj's underlying member method code with example usage: obj.copy_to(host_file_path) and returns: self, str, file_name