# Docker-compose on raspberry pi pulling amd64 image

**URL:** <https://forums.docker.com/t/docker-compose-on-raspberry-pi-pulling-amd64-image/100211>\
**Category:** Compose\
**Tags:** docker, raspberrypi\
**Created:** [October 31, 2020, 5:55am UTC](https://forums.docker.com/t/docker-compose-on-raspberry-pi-pulling-amd64-image/100211 "2020-10-31T05:55:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolasb183](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@nicolasb183](https://forums.docker.com/u/nicolasb183)\
**Post date:** [October 31, 2020, 5:55am UTC](https://forums.docker.com/t/docker-compose-on-raspberry-pi-pulling-amd64-image/100211/1 "2020-10-31T05:55:50Z")

</div>

I’m trying to run a influxdb in a docker container in a raspberry pi. If i do a

```auto
docker pull influxdb

```

It works fine. However, when I try it in a docker compose it pulls the image for amd64.

```auto
pi@raspberrypi:~/influx $ docker --version
Docker version 19.03.13, build 4484c46
pi@raspberrypi:~/influx $ docker-compose --version
docker-compose version 1.27.4, build unknown
pi@raspberrypi:~/influx $ 

```

Dockerfile:

```auto
FROM "influxdb/influxdb:latest"

```

docker-compose file:

```auto
version: "3"
services:
  db:
    build: ./influxdb

```

I tried already do remove all containers with

```auto
docker system prune -a

```

But it always keeps pulling the amd version.

I would be glad for a hint.

Nicolas

---

<div class="post-metadata">

**Author:** ![tekki](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/tekki/32/21884_2.png) [@tekki](https://forums.docker.com/u/tekki)\
**Post date:** [October 31, 2020, 7:21am UTC](https://forums.docker.com/t/docker-compose-on-raspberry-pi-pulling-amd64-image/100211/2 "2020-10-31T07:21:20Z")

</div>

> [@nicolasb183](#):
>
> FROM “influxdb/influxdb:latest”

Use the official image [influxdb](https://hub.docker.com/_/influxdb) instead, it supports ARM and ARM64. `influxdb/influxdb` was not updated since 5 years.

---

<div class="post-metadata">

**Author:** ![nicolasb183](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@nicolasb183](https://forums.docker.com/u/nicolasb183)\
**Post date:** [October 31, 2020, 8:13am UTC](https://forums.docker.com/t/docker-compose-on-raspberry-pi-pulling-amd64-image/100211/3 "2020-10-31T08:13:05Z")

</div>

Hi

thank you - that was easy - thought I had the official repo.

Now it works:-)
