Add docker container to outside network

Hi,

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: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
>     container_name: elasticsearch
>     environment:
>       - cluster.name=DMS
>       - bootstrap.memory_lock=true
>       - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
>       - "discovery.zen.ping.unicast.hosts=10.3.1.202"
>       
>    ulimits:
>       memlock:
>         soft: -1
>         hard: -1
>     volumes:
>       - esdata1:/usr/share/elasticsearch/data
>     ports:
>       - 10.3.1.201:9201:9200
>       - 10.3.1.201:9301:9300
>     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.