Add docker container to outside network


I'm running an Elastic cluster on my internal network.
Now I would like to spin up some dockers when load gets heavy.
When I try to spin these up I can't seem to get them into the existing cluster.
I always get a "failed to send join request to the master"

What version?
What does your config look like?
What do the logs show?

Providing as much info as possible makes it heaps easier for us to help you :slight_smile:

This is the compose file I use

> version: '2.2'
> services:
>   elasticsearch:
>     image:
>     container_name: elasticsearch
>     environment:
>       -
>       - bootstrap.memory_lock=true
>       - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
>       - ""
>    ulimits:
>       memlock:
>         soft: -1
>         hard: -1
>     volumes:
>       - esdata1:/usr/share/elasticsearch/data
>     ports:
>       -
>       -
>     network_mode: bridge
> volumes:
>   esdata1:
>     driver: local
> networks:
>   esnet:

And this is the logging I get. 502-0 Is the name of an other node in my network.

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.