Cant connect to duckling running on docker

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

`

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

Edit: Added the action_server in depends_on list as well