code: def get_image_command(image):
      '''Gets the default command for an image'''
      info = docker_inspect_or_pull(image)
      try:
          return info['Config']['Cmd']
      except KeyError as ke:
          raise DockerError('Failed to inspect image: JSON result missing key {}'.format(ke)f get_image_command(image):
      '''Gets the default command for an image'''
      info = docker_inspect_or_pull(image)
      try:
          return info['Config']['Cmd']
      except KeyError as ke:
          raise DockerError('Failed to inspect image: JSON result missing key {}'.format(ke))
docs: Gets the default command for an image