# Ratel docker image for ARM architecture

**URL:** <https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859>\
**Category:** Ratel\
**Created:** [April 14, 2025, 11:09am UTC](https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859 "2025-04-14T11:09:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Awoogamuffin](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/awoogamuffin/32/1356_2.png) [@Awoogamuffin](https://discuss.dgraph.io/u/Awoogamuffin)\
**Post date:** [April 14, 2025, 11:09am UTC](https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859/1 "2025-04-14T11:09:11Z")

</div>

Hi there!

I’m hosting my dgraph databases on ARMx64 isntances, and I was hoping that I could run ratel on my cluster, allowing me to control access via ingress.

The problem is that ratel seems not to work with ARM chips. Is there a way to build a docker image for ratel which works with ARM?

Thanks  
Michael

---

<div class="post-metadata">

**Author:** ![matthewmcneely](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/matthewmcneely/32/4774_2.png) [@matthewmcneely](https://discuss.dgraph.io/u/matthewmcneely)\
**Post date:** [April 15, 2025, 5:30pm UTC](https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859/2 "2025-04-15T17:30:58Z")

</div>

Hey @Awoogamuffin,

I’m able to run it on Apple Silicon…

```auto
docker run --rm -p 8000:8000 dgraph/ratel
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025/04/15 17:28:25 Listening on :8000...

```

There’s a warning from Docker, but Ratel still works.

What exact issue are you seeing? On what ARM architecture (chip/OS) is it failing?

---

<div class="post-metadata">

**Author:** ![Awoogamuffin](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/awoogamuffin/32/1356_2.png) [@Awoogamuffin](https://discuss.dgraph.io/u/Awoogamuffin)\
**Post date:** [April 15, 2025, 6:51pm UTC](https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859/3 "2025-04-15T18:51:19Z")

</div>

Oh yes I should have specified

Turns out that docker for mac will emulate incompatible images. I’ve had ratel (and some other images) running fine on my apple silicon dev machine.

But on an ubuntu ec2 instance, no such luck. It simply doesn’t work. I’ll find workaround, it’s just that I was proud of my little ingress-keycloak → ratel security solution.

I could run a tiny instance just for ratel, or use the tls solution, or something else… it’s just that the ratel client is a small binary providing the http. It would be nice to have an ARM version available

---

<div class="post-metadata">

**Author:** ![mathew\_25](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/mathew_25/32/11817_2.png) [@mathew\_25](https://discuss.dgraph.io/u/mathew_25)\
**Post date:** [April 22, 2025, 11:34pm UTC](https://discuss.dgraph.io/t/ratel-docker-image-for-arm-architecture/19859/4 "2025-04-22T23:34:15Z")

</div>

Yes, you can create a Docker image for Ratel that is compatible with ARM-based platforms. Because Ratel’s official Docker images are generally built against x86 architectures, you will have to make a custom ARM-compatible image. You can begin by compiling the Ratel UI from source using the Go programming language, which should enable you to compile for ARM architectures. In order to do this, clone the Ratel repository, make sure your Dockerfile has an ARM-compatible base image , and then proceed with the build instructions of the Ratel frontend. Subsequently, you can build and push your ARM-compatible Docker image. Ensure you have multi-architecture support in your Docker configuration if you are building it on an x86 system and pushing to be used on an ARM system.
