The MaxMind updater didn’t work for me, so I did some digging and found that they have their own updater, even as a docker container.
Using this instead of the script from the guide worked for me:
geoipupdate:
container_name: geoipupdate
image: ghcr.io/maxmind/geoipupdate
restart: unless-stopped
volumes:
- ./config/maxmind:/usr/share/GeoIP
environment:
- GEOIPUPDATE_ACCOUNT_ID=YOUR_ID_HERE
- GEOIPUPDATE_LICENSE_KEY=YOUR_KEY_HERE
- GEOIPUPDATE_EDITION_IDS=GeoLite2-ASN GeoLite2-City GeoLite2-Country
- GEOIPUPDATE_FREQUENCY=72
This also has the bonus of updating automatically (every 3 days in my example)