# Errors When Trying To Setup With Docker

**URL:** <https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909>\
**Category:** Rasa Open Source\
**Created:** [March 10, 2019, 11:43pm UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909 "2019-03-10T23:43:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![biznearme](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@biznearme](https://forum.rasa.com/u/biznearme)\
**Post date:** [March 10, 2019, 11:43pm UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/1 "2019-03-10T23:43:27Z")

</div>

[https://rasa.com/docs/core/installation/](https://rasa.com/docs/core/installation/)

Section: Using Docker Compose - [https://rasa.com/docs/core/installation](https://rasa.com/docs/core/installation)

Using: Compose File Example

Tried to setup via online Docker instructions. Used the example docker-compose.yml file data.

When I run it, it blows up with multiple errors. Included a screenshot.

Using Digital Ocean Droplet, Docker Image.

 ![Screenshot%20(14)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/4/44a3fe087f5646ea957d4a0608044a824decce03.png)

My docker-compose.yml file contents/data from the website documentation.  
Run docker-compose up and BOOM… lol Example data below was properly formatted when pasted in here. Not sure why it’s stripping off all the formatting on save. .yml data is not modified in any way. 100% exact image off of the website/docs.

version: ‘3.0’

services: rasa\_core: image: rasa/rasa\_core:latest networks: [‘rasa-network’] ports: - “5005:5005” volumes: - “./rasa-app-data/models/current/dialogue:/app/model” - “./rasa-app-data/config:/app/config” - “./rasa-app-data/project:/app/project” command: - start - -d - ./model - -c - rest - -u - current/nlu - --endpoints - config/endpoints.yml

action\_server: image: rasa/rasa\_core\_sdk:latest networks: [‘rasa-network’] ports: - “5055:5055” volumes: - “./rasa-app-data/actions:/app/actions”

rasa\_nlu: image: rasa/rasa\_nlu:latest-full networks: [‘rasa-network’] ports: - “5000:5000” volumes: - “./rasa-app-data/models/:/app/projects” - “./rasa-app-data/logs:/app/logs”

duckling: image: rasa/duckling:latest networks: [‘rasa-network’] ports: - “8000:8000”

networks: {rasa-network: {}}

---

<div class="post-metadata">

**Author:** ![dadecoza](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dadecoza/32/2063_2.png) [@dadecoza](https://forum.rasa.com/u/dadecoza)\
**Post date:** [March 11, 2019, 5:00am UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/2 "2019-03-11T05:00:47Z")

</div>

It looks like it cant find your actions.

If you are in the directory containing you docker-compose.yml are you able to “ls ./rasa-app-data/actions” ?

Did you do step 4 in [Building Rasa with Docker](https://rasa.com/docs/core/docker_walkthrough/) ?

---

<div class="post-metadata">

**Author:** ![biznearme](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@biznearme](https://forum.rasa.com/u/biznearme)\
**Post date:** [March 11, 2019, 6:10am UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/3 "2019-03-11T06:10:34Z")

</div>

Not sure what you mean. If you look at this “main” setup doc and look at the section noted about using docker compose, it says to use that file verbatim. No mention of any other mods. There is no step 4 in this doc. So that section is wrong and/or incomplete?

[https://rasa.com/docs/core/installation/](https://rasa.com/docs/core/installation/)

Using Docker Compose

Rasa provides all components as official Docker images which are continuously updated. To quickly run Rasa Core with other components, you can use the provided [docker compose](https://docs.docker.com/compose/overview/) file. This is useful for a quick local setup or if you want to host the Rasa components on cloud services.

Compose File Example ---- What I posted, copied from this section.

Just FYI my other post. I ran into the same issue with the base setup instructions on Ubuntu. They were incorrect/missing info as well. Took me awhile but I did get it running that way. Wanted to setup under Docker. Not surprised at this point if the docs are wrong here as well.

---

<div class="post-metadata">

**Author:** ![dadecoza](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dadecoza/32/2063_2.png) [@dadecoza](https://forum.rasa.com/u/dadecoza)\
**Post date:** [March 11, 2019, 6:40am UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/4 "2019-03-11T06:40:55Z")

</div>

Okay I see the instructions you followed.

If you look at the docker compose files you will see a whole bunch of volumes trying to be shared with the containers. for example …

- ./rasa-app-data
- ./rasa-app-data/models/
- ./rasa-app-data/project
- …

Those files and directories will first have to exist.

I would suggest you follow … [Building Rasa with Docker](https://rasa.com/docs/core/docker_walkthrough/) .

---

<div class="post-metadata">

**Author:** ![biznearme](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@biznearme](https://forum.rasa.com/u/biznearme)\
**Post date:** [March 11, 2019, 7:33am UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/5 "2019-03-11T07:33:42Z")

</div>

Gotcha. So much for the “quick” part of that doc. Thanks for the feedback. I saw the doc you mentioned but the one I was reading seemed to have a current/fast way to set it up and appears to be the main document.

---

<div class="post-metadata">

**Author:** ![dadecoza](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/dadecoza/32/2063_2.png) [@dadecoza](https://forum.rasa.com/u/dadecoza)\
**Post date:** [March 11, 2019, 7:53am UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/6 "2019-03-11T07:53:31Z")

</div>

Here is my repository with the hangnman game … [GitHub - dadecoza/rasa-hangman: add a game of hangman to your chatbot](https://github.com/dadecoza/rasa-hangman) .

It has a docker-compose.yml and all the required files to start the bot. Just follow the instructions in the README.md. You can then change the nlu and core files to make it do what you want.

---

<div class="post-metadata">

**Author:** ![biznearme](https://avatars.discourse-cdn.com/v4/letter/b/ee59a6/32.png) [@biznearme](https://forum.rasa.com/u/biznearme)\
**Post date:** [March 11, 2019, 4:25pm UTC](https://forum.rasa.com/t/errors-when-trying-to-setup-with-docker/5909/7 "2019-03-11T16:25:08Z")

</div>

Thank you. I will take a look at that. Appreciate the help.
