private Set<Link> findLinksFromThisContainer(String alias, LinkableContainer linkableContainer) {
        return dockerClient
            .listContainersCmd()
            .withStatusFilter(Arrays.asList("running"))
            .exec()
            .stream()
            .flatMap(container -> Stream.of(container.getNames()))
            .filter(name -> name.endsWith(linkableContainer.getContainerName()))
            .map(name -> new Link(name, alias))
            .collect(Collectors.toSet());
    }
@return the ports on which to check if the container is ready
@deprecated use {@link #getLivenessCheckPortNumbers()} instead
core/src/main/java/org/testcontainers/containers/GenericContainer.java