@SuppressWarnings("unchecked")
    public <SELF extends StartupCheckStrategy> SELF withTimeout(Duration timeout) {
        this.timeout = timeout;
        return (SELF) this;
    }
Approach to determine whether a container has 'started up' correctly.
core/src/main/java/org/testcontainers/containers/startupcheck/StartupCheckStrategy.java