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()
Returns the recorder for the current request or None.
dataset/ETHPy150Open tethysplatform/tethys/tethys_apps/cli/docker_commands.py/docker_stop--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/RequestLocalRecorderProxy.get_for_current_request