private long downloadedLayerSize() {
        return currentSizes.values().stream().filter(Objects::nonNull).mapToLong(it -> it).sum();
    }
{@link PullImageResultCallback} with improved logging of pull progress.
core/src/main/java/org/testcontainers/images/LoggedPullImageResultCallback.java