public SELF withStartupAttempts(int attempts) {
        this.startupAttempts = attempts;
        return self();
    }
Allow container startup to be attempted more than once if an error occurs. To be used if containers are
'flaky' but this flakiness is not something that should affect test outcomes.

@param attempts number of attempts
core/src/main/java/org/testcontainers/containers/GenericContainer.java