private String internalMarkerLabels() {
        return getContainerInfo()
            .getConfig()
            .getLabels()
            .entrySet()
            .stream()
            .filter(entry -> entry.getKey().startsWith(DockerClientFactory.TESTCONTAINERS_LABEL))
            .filter(entry -> {
                return (
                    !entry.getKey().equals("org.testcontainers.hash") &&
                    !entry.getKey().equals("org.testcontainers.copied_files.hash")
                );
            })
            .map(entry -> String.format("-l %s=%s", entry.getKey(), entry.getValue()))
            .collect(Collectors.joining(" "));
    }
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