code: def _check_docker_disk_usage():
      """Fetch the local docker container disk usage.
  
      Args:
          None
      Returns:
          None
      """
      try:
          docker_path = "/var/lib/docker"
          # Windows, MacOS and Linux based docker installations work differently.
          if system().lower() == "windows":
              docker_path = str(Path.home()) + "C:\\ProgramData\\Docker"
          elif system().lower() == "darwin":
              docker_path = (
                  str(Path.home())
                  + "/Library/Containers/com.docker.docker/Data/vms/0/"
              )
          elif system().lower() == "linux":
              docker_path = "/var/lib/docker"
          usage = shutil.disk_usage(docker_path)
          percentage_used = usage[1] / usage[0]
          if percentage_used >= 0.5:
              logger.warning(
                  "%s percent of docker disk space at %s is used. "
                  "Please consider freeing up disk space or increasing the EBS volume if you "
                  "are on a SageMaker Notebook.",
                  percentage_used * 100,
                  docker_path,
              )
          else:
              logger.info(
                  "%s percent of docker disk space at %s is used.",
                  percentage_used * 100,
                  docker_path,
              )
      except Exception as e:  # pylint: disable=W0703
          logger.warning(
              "Unable to check docker volume utilization at the expected path %s. %s",
              docker_path,
              str(e),
          )
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/utils/local_hardware.py
imports: from __future__ import absolute_import
  import subprocess
  import multiprocessing
  import logging
  import shutil
  from math import ceil, floor
  from platform import system
  from pathlib import Path
  import psutil
  from sagemaker import Session
label_desc: Use image node_id 5 for calling a global function with example usage: _check_docker_disk_usage() without return types