# Problem creating docker container for arm64

**URL:** <https://discuss.elastic.co/t/problem-creating-docker-container-for-arm64/268367>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [March 25, 2021, 2:40pm UTC](https://discuss.elastic.co/t/problem-creating-docker-container-for-arm64/268367 "2021-03-25T14:40:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suityou01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suityou01/32/86102_2.png) [@suityou01](https://discuss.elastic.co/u/suityou01)\
**Post date:** [March 25, 2021, 2:40pm UTC](https://discuss.elastic.co/t/problem-creating-docker-container-for-arm64/268367/1 "2021-03-25T14:40:42Z")

</div>

Hi,

I've created a docker image for filebeat for arm64 arch. This is what my simplistic docker file looks like

```auto
    FROM golang:1.15.10

    RUN \
    apt-get update \
      && apt-get install -y --no-install-recommends \
         libsystemd-dev \
         netcat \
         rsync \
         python \
         python-pip \
         python3 \
         python3-pip \
         python3-venv \
         libpcap-dev \
      && rm -rf /var/lib/apt/lists/*

    RUN cd /
    RUN wget https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.9.0-arm64.deb
    RUN dpkg -i filebeat-7.9.0-arm64.deb

```

It builds ok but when I run it up I get this error

```auto
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "-c": executable file not found in $PATH: unknown

```

(For info this is inside of microk8s, but may or may not be relevant.)

Have I missed a step in the docker file? Can anyone point me to a simple docker file that would successfully do what I am trying to do here?

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [March 26, 2021, 8:24am UTC](https://discuss.elastic.co/t/problem-creating-docker-container-for-arm64/268367/2 "2021-03-26T08:24:09Z")

</div>

Hi!

The official docker images are built in a bit of complex way but you can take a look at [beats/dev-tools/packaging/templates/docker at b046e085996a152abb5835fb09193c2792f10b46 · elastic/beats · GitHub](https://github.com/elastic/beats/tree/b046e085996a152abb5835fb09193c2792f10b46/dev-tools/packaging/templates/docker).

Can you share how you start the container? Can you start it with a simple bash entry-point command and explore what there is inside?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 23, 2021, 10:24am UTC](https://discuss.elastic.co/t/problem-creating-docker-container-for-arm64/268367/3 "2021-04-23T10:24:15Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
