# Setting DISCOURSE\_MAXMIND\_LICENSE\_KEY breaks docker image/container build

**URL:** https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564
**Category:** Self-hosting
**Tags:** maxmind
**Created:** [September 2, 2023, 1:37pm UTC](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564 "2023-09-02T13:37:59Z")
**Posts on this page:** 1
**Showing post:** 21

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [May 15, 2024, 6:31pm UTC](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564/21 "2024-05-15T18:31:50Z")

</div>

I have been having the same issue for a while now and had to disable the MaxMind integration in order to rebuild.

I think the issue [may have been fixed](https://meta.discourse.org/t/fail-to-download-maxmind-db-with-valid-key-can-download-the-db-from-inside-container/300590/4) at least on tests-passed, but I’m on latest stable (3.2.2) so I assumed I would have to wait. However, [there is a report](https://meta.discourse.org/t/upgrade-discourse-fails-from-3-3-0-beta1-to-beta2-via-admin-panel/308038) of the same with 3.3.0, so perhaps this needs a closer look.

---

_[View the full topic](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564)._
