private void exposePorts() {
        if (legacyMode) {
            services.stream().map(this::getServicePort).distinct().forEach(this::addExposedPort);
        } else {
            this.addExposedPort(PORT);
        }
    }
Provides a docker argument string including all default labels set on testcontainers containers (excluding reuse labels)
@return Argument string in the format `-l key1=value1 -l key2=value2`
modules/localstack/src/main/java/org/testcontainers/containers/localstack/LocalStackContainer.java