def docker_stop(container=None, boot2docker=False):
    # Retrieve a Docker client
    docker_client = get_docker_client()

    # Stop the Docker containers
    stop_docker_containers(docker_client, container=container)

    # Shutdown boot2docker if applicable
    if boot2docker and not container:
        stop_boot2docker()
Stop Docker containers
dataset/ETHPy150Open tethysplatform/tethys/tethys_apps/cli/docker_commands.py/docker_stop