code: def docker_compose_info(obj, service_name, show):
      """Show docker-compose definition info for service_name.
  
      SERVICE_NAME is the name of the docker service defined on
      the docker-compose. Look at `archery docker images` output for names.
      """
      compose = obj["compose"]
      try:
          service = compose.config.raw_config["services"][service_name]
      except KeyError:
          click.echo(
              f"Service name {service_name} could not be found",
              err=True,
          )
          sys.exit(1)
      else:
          click.echo(f"Service {service_name} docker-compose config:")
          output = "\n".join(compose.info(service, show))
          click.echo(output)
  
file_path: arrow/dev/archery/archery/docker/cli.py
imports: import os
  import sys
  import click
  from ..utils.cli import validate_arrow_sources
  from .core import DockerCompose, UndefinedImage
label_desc: Use image node_id 9 for calling a global function with example usage: docker_compose_info(obj, service_name, show) without return types