def get_dusty_containers(services, include_exited=False):
client = get_docker_client()<EOL>if services:<EOL><INDENT>containers = [get_container_for_app_or_service(service, include_exited=include_exited) for service in services]<EOL>return [container for container in containers if container]<EOL><DEDENT>else:<EOL><INDENT>return [container<EOL>for container in client.containers(all=include_exited)<EOL>if any(name.startswith('<STR_LIT>') for name in container.get('<STR_LIT>', []))]<EOL><DEDENT>
Get a list of containers associated with the list
    of services. If no services are provided, attempts to
    return all containers associated with Dusty.