private Set<CreateContainerCmdModifier> loadCreateContainerCmdCustomizers() {
        ServiceLoader<CreateContainerCmdModifier> containerCmdCustomizers = ServiceLoader.load(
            CreateContainerCmdModifier.class
        );
        Set<CreateContainerCmdModifier> loadedCustomizers = new LinkedHashSet<>();
        for (CreateContainerCmdModifier customizer : containerCmdCustomizers) {
            loadedCustomizers.add(customizer);
        }
        return loadedCustomizers;
    }
The approach to determine if the container is ready.
core/src/main/java/org/testcontainers/containers/GenericContainer.java