# Error starting action server on Docker

**URL:** <https://forum.rasa.com/t/error-starting-action-server-on-docker/45056>\
**Category:** Rasa Open Source\
**Created:** [June 25, 2021, 3:51pm UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056 "2021-06-25T15:51:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [June 25, 2021, 3:51pm UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056/1 "2021-06-25T15:51:55Z")

</div>

Hi , I using Rasa ver 1.10.26 running on RaspberryPi 4 using docker image from [GitHub - koenvervloesem/rasa-docker-arm: Rasa Docker image for ARMv7. Runs on a Raspberry Pi.](https://github.com/koenvervloesem/rasa-docker-arm) and 1.10.3 Rasa SDK . Currently i facing issues to deploying my docker container for action server , does anyone possible to correct my mistake ? I used docker ps , it only shows my rasa server .

```
pi@raspberrypi:~/Desktop/rasa_bot/rasa-docker-arm $ docker-compose up
Starting rasa-docker-arm_action-server_1 ... done
Starting rasa-docker-arm_rasa_1 ... done
Attaching to rasa-docker-arm_action-server_1, rasa-docker-arm_rasa_1
action-server_1 | standard_init_linux.go:228: exec user process caused: exec format error
    rasa-docker-arm_action-server_1 exited with code 1

```

docker-compose.yml

```
> version: '3'
> services:
> rasa:
> image: rasa:1.10.26
> expose:
> - 5005
> ports:
> - 5005:5005
> volumes:
> - ./:/app
> command:
> - run
> - --cors
> - "*"
> - --enable-api
> - --log-file
> - out.log
> depends_on:
> - action-server
> action-server:
> image: rasa/rasa-sdk:1.10.3
> volumes:
> - ./actions:/app/actions
> ports:
> - "5055:5055"  

```

Dockerfile (Got from rasa1.X doc , tested to built my own docker image same problem)

```
# Extend the official Rasa SDK image
FROM rasa/rasa-sdk:1.10.3

# Use subdirectory as working directory
WORKDIR /app

# Change back to root user to install dependencies
USER root

# Copy actions folder to working directory
COPY ./actions /app/actions

# By best practices, don't run the code with root user
USER 1001

```

Thanks

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [June 25, 2021, 8:10pm UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056/2 "2021-06-25T20:10:47Z")

</div>

@BELIEVEIT did you managed to install all the dependencies and software for action server using requrenments.txt? Why only these versions why not latest?

Try this image:

```
> version: "3.0"
> 
> services:
> 
> rasa:
> 
> image: rasa/rasa:2.6.3-full
> 
> ports:
> 
> - 5005:5005
> 
> volumes:
> 
> - ./:/app
> 
> command:
> 
> - run
> 
> - -m
> 
> - models
> 
> - --enable-api
> 
> - --cors
> 
> - "*"
> 
> - --debug
> 
> action_server:
> 
> image: rasa/rasa_core_sdk:latest
> 
> ports:
> 
> - 5055:5055
> 
> volumes:
> 
> - ./actions:/app/actions
> 
> command:

> - rasa
> 
> - run
> 
> - actions
```

---

<div class="post-metadata">

**Author:** ![csmyth76](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/csmyth76/32/15271_2.png) [@csmyth76](https://forum.rasa.com/u/csmyth76)\
**Post date:** [June 26, 2021, 12:07am UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056/3 "2021-06-26T00:07:26Z")

</div>

I had to make following changes to get your docker-compose.yml to work. After I made these changes though, both processes were running.

- use the latest versions (as @nik202 suggested)

- use “rasa/rasa” when setting the rasa image

Here is the docker-compose.yml that I used:

```
 version: '3'
 services:
   rasa:
 image: rasa/rasa:latest
 expose:
   - 5005
 ports:
   - 5005:5005
 volumes:
   - ./:/app
 command:
   - run
   - --cors
   - "*"
   - --enable-api
   - --log-file
   - out.log
 depends_on:
   - action-server
   action-server:
 image: rasa/rasa-sdk:latest
 volumes:
   - ./actions:/app/actions
 ports:
   - "5055:5055"
```

---

<div class="post-metadata">

**Author:** ![earroyoh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/earroyoh/32/14447_2.png) [@earroyoh](https://forum.rasa.com/u/earroyoh)\
**Post date:** [June 26, 2021, 3:13pm UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056/4 "2021-06-26T15:13:06Z")

</div>

In general in docker is not best practice to use latest tag for inmutable infrastructure, better use [rasa compatibility matrix versions.](https://rasa.com/docs/rasa-x/changelog/compatibility-matrix/)

---

<div class="post-metadata">

**Author:** ![BELIEVEIT](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/believeit/32/15170_2.png) [@BELIEVEIT](https://forum.rasa.com/u/BELIEVEIT)\
**Post date:** [July 9, 2021, 11:03am UTC](https://forum.rasa.com/t/error-starting-action-server-on-docker/45056/5 "2021-07-09T11:03:47Z")

</div>

Can anyone help me on this , i still facing problem of “standard\_init\_linux.go:228: exec user process caused: exec format error” is it due to the architecture that is was using on raspberry pi which is ARMv7 ?
