Php Maxmind geoip,don';找不到ip

Php Maxmind geoip,don';找不到ip,php,geoip,maxmind,geolitecity,Php,Geoip,Maxmind,Geolitecity,我有一个php docker容器,可以在本地环境中使用 在dockerfile里我放了这个 RUN apt-get install -y \ geoip-bin \ geoip-database \ libgeoip-dev RUN pecl install geoip-1.1.1 RUN docker-php-ext-enable geoip RUN echo "geoip.custom_directory=\"/usr/share/GeoIP/\&

我有一个php docker容器,可以在本地环境中使用

在dockerfile里我放了这个

RUN apt-get install -y \
    geoip-bin \
    geoip-database \
    libgeoip-dev
RUN pecl install geoip-1.1.1
RUN docker-php-ext-enable geoip
RUN echo "geoip.custom_directory=\"/usr/share/GeoIP/\"" >> /usr/local/etc/php/conf.d/docker-php-ext-geoip.ini
RUN wget "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=TOTOTOT&suffix=tar.gz" -O /usr/share/GeoIP/GeoLiteCity.tar.gz && gunzip --force /usr/share/GeoIP/GeoLiteCity.tar.gz && ln -s /usr/share/GeoIP/GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
不幸的是,有时当我试图访问一些ip地址时,我会出现以下错误“在数据库中找不到ip”

因此,我的问题如下。我看到,当您提供这样的ip 88.168.67.43时,它找不到关于它的信息。因为在maxmind文件中,我们需要一些与/24相关的东西,这就是CIDR

Maxmind提供一个将CIDR格式的文件转换为经典csv的程序。但我得到的是mmdb文件,而不是csv文件。。。。你知道如何使用正确的ip地址获取文件吗

或者如果我可以轻松地将ip从88.168.67.43更改为CIDR符号