DockerImageName getConfiguredSubstituteImage(DockerImageName original) {
        for (final Map.Entry<DockerImageName, String> entry : CONTAINER_MAPPING.entrySet()) {
            if (original.isCompatibleWith(entry.getKey())) {
                return Optional
                    .ofNullable(entry.getValue())
                    .map(propertyName -> getEnvVarOrProperty(propertyName, null))
                    .map(String::valueOf)
                    .map(String::trim)
                    .map(DockerImageName::parse)
                    .orElse(original)
                    .asCompatibleSubstituteFor(original);
            }
        }
        return original;
    }
@return properties values available from user properties and classpath properties. Values set by environment
variable are NOT included.
@deprecated usages should be removed ASAP. See {@link TestcontainersConfiguration#getEnvVarOrProperty(String, String)},
{@link TestcontainersConfiguration#getEnvVarOrUserProperty(String, String)} or {@link TestcontainersConfiguration#getUserProperty(String, String)}
for suitable replacements.
core/src/main/java/org/testcontainers/utility/TestcontainersConfiguration.java