# How to use rasa/rasa-x-demo docker image

**URL:** <https://forum.rasa.com/t/how-to-use-rasa-rasa-x-demo-docker-image/53920>\
**Category:** Getting Started with Rasa\
**Created:** [June 23, 2022, 3:40pm UTC](https://forum.rasa.com/t/how-to-use-rasa-rasa-x-demo-docker-image/53920 "2022-06-23T15:40:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dwatrousgoog](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dwatrousgoog](https://forum.rasa.com/u/dwatrousgoog)\
**Post date:** [June 23, 2022, 3:40pm UTC](https://forum.rasa.com/t/how-to-use-rasa-rasa-x-demo-docker-image/53920/1 "2022-06-23T15:40:52Z")

</div>

I’m brand new to Rasa and thought I would start with [Docker Hub](https://hub.docker.com/r/rasa/rasa-x-demo/)

It seems to be up to date, and I suspect it’s a self-contained demo, but I can’t find any instructions about how to use it. The container starts

```auto
$ docker run rasa/rasa-x-demo
INFO:rasa_sdk.endpoint:Starting action endpoint server...
DEBUG:sanic.root:CORS: Configuring CORS with resources: {'/*': {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}}
INFO:rasa_sdk.endpoint:Action endpoint is up and running on http://localhost:5055
DEBUG:rasa_sdk.utils:Using the default number of Sanic workers (1).
DEBUG:sanic.root:

                 Sanic
         Build Fast. Run Fast.

INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5055
INFO:sanic.root:Starting worker [1]

```

After that, I don’t know what to do. If I send any requests, I get an error

```auto
$ curl http://0.0.0.0:5055/webhook
curl: (7) Failed to connect to 0.0.0.0 port 5055: Connection refused

```

Can someone point me to instructions about how this demo works?

---

<div class="post-metadata">

**Author:** ![dwatrousgoog](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dwatrousgoog](https://forum.rasa.com/u/dwatrousgoog)\
**Post date:** [June 23, 2022, 5:57pm UTC](https://forum.rasa.com/t/how-to-use-rasa-rasa-x-demo-docker-image/53920/2 "2022-06-23T17:57:36Z")

</div>

I forgot to expose the port, so I’m past one hurdle. Unfortunately I still don’t know what to try next. I’m getting 404 errors.

```auto
$ docker run -p 5055:5055 rasa/rasa-x-demo
INFO:rasa_sdk.endpoint:Starting action endpoint server...
DEBUG:sanic.root:CORS: Configuring CORS with resources: {'/*': {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}}
INFO:rasa_sdk.endpoint:Action endpoint is up and running on http://localhost:5055
DEBUG:rasa_sdk.utils:Using the default number of Sanic workers (1).
DEBUG:sanic.root:

                 Sanic
         Build Fast. Run Fast.

INFO:sanic.root:Goin' Fast @ http://0.0.0.0:5055
INFO:sanic.root:Starting worker [1]
DEBUG:sanic.root:CORS: Request to '/model/parse' matches CORS resource '/*'. Using options: {'origins': ['.*'], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': None, 'supports_credentials': False, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': '*'}}, 'intercept_exceptions': True, 'always_send': True}
DEBUG:sanic.root:CORS: CORS was handled in the exception handler, skipping
INFO:sanic.access:

```

---

<div class="post-metadata">

**Author:** ![dwatrousgoog](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@dwatrousgoog](https://forum.rasa.com/u/dwatrousgoog)\
**Post date:** [June 23, 2022, 7:43pm UTC](https://forum.rasa.com/t/how-to-use-rasa-rasa-x-demo-docker-image/53920/3 "2022-06-23T19:43:27Z")

</div>

I have discovered that a /health endpoint is working

```auto
$ curl http://localhost:5055/health
{"status":"ok"}

```

I tried `/version` and `/status`, but neither or those work.
