class_docstr: Placeholder docstring
class_docstr_tok: ["Placeholder","docstring"]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _start_djl_serving(
      self,
      client: object,
      image: str,
      model_path: str,
      secret_key: str,
      env_vars: dict,
  ):
      """Placeholder docstring"""
      updated_env_vars = _update_env_vars(env_vars)
  
      self.container = client.containers.run(
          image,
          ["djl-serving", "-s", MODE_DIR_BINDING],
          shm_size=_SHM_SIZE,
          device_requests=[
              DeviceRequest(count=-1, capabilities=[["gpu"]])
          ],
          network_mode="host",
          detach=True,
          auto_remove=True,
          volumes={
              Path(model_path).joinpath("code"): {
                  "bind": MODE_DIR_BINDING,
                  "mode": "rw",
              },
          },
          environment=updated_env_vars,
      )
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/model_server/djl_serving/server.py
imports: from __future__ import absolute_import
  import requests
  import logging
  from pathlib import Path
  from docker.types import DeviceRequest
  from sagemaker import Session, fw_utils
  from sagemaker.serve.utils.exceptions import LocalModelInvocationException
  from sagemaker.base_predictor import PredictorBase
  from sagemaker.s3_utils import determine_bucket_and_prefix, parse_s3_url, s3_path_join
  from sagemaker.s3 import S3Uploader
  from sagemaker.local.utils import get_docker_host
label_desc: Use image node_id 1 for calling the LocalDJLServing obj's underlying member method code with example usage: obj._start_djl_serving(client, image, model_path, secret_key, env_vars) without return types