@Override
    public DockerImageName apply(final DockerImageName original) {
        final DockerImageName result = configuration
            .getConfiguredSubstituteImage(original)
            .asCompatibleSubstituteFor(original);

        if (!result.equals(original)) {
            log.warn(
                "Image name {} was substituted by configuration to {}. This approach is deprecated and will be removed in the future",
                original,
                result
            );
        }

        return result;
    }
{@link ImageNameSubstitutor} which takes replacement image names from configuration.
See {@link TestcontainersConfiguration} for the subset of image names which can be substituted using this mechanism.
core/src/main/java/org/testcontainers/utility/ConfigurationFileImageNameSubstitutor.java