# Cant connect to duckling running on docker

**URL:** <https://forum.rasa.com/t/cant-connect-to-duckling-running-on-docker/18371>\
**Category:** Rasa Open Source\
**Created:** [October 4, 2019, 12:26am UTC](https://forum.rasa.com/t/cant-connect-to-duckling-running-on-docker/18371 "2019-10-04T00:26:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![vp109](https://avatars.discourse-cdn.com/v4/letter/v/c89c15/32.png) [@vp109](https://forum.rasa.com/u/vp109)\
**Post date:** [October 4, 2019, 7:23am UTC](https://forum.rasa.com/t/cant-connect-to-duckling-running-on-docker/18371/2 "2019-10-04T07:23:09Z")

</div>

According to the docker compose file, there is no link between rasa container and duckling container. You’ll need to add `depends_on` key with values of containers you want it to have IP addresses for.

Try updating your docker-compose.yml as

`

```auto
version: '3.0'
services:
  rasa:
    image: bot_main:v4
    ports:
      - "5005:5005"
    depends_on:
      - duckling
      - action_server
  action_server:
    image: bot_action:v1
    ports:
      - 5055
  duckling:
    image: rasa/duckling
    ports:
      - "8000:8000"

```

And try spinning up the instances. You can find more details about the key on the [Compose file reference](https://docs.docker.com/compose/compose-file/)

Edit: Added the action\_server in depends\_on list as well

---

_[View the full topic](https://forum.rasa.com/t/cant-connect-to-duckling-running-on-docker/18371)._
