Skip to content

Multiple master nodes after docker-compose restart #5546

Answered by brandond
jbumgit asked this question in Q&A
Discussion options

You must be logged in to vote

You're not assigning a fixed hostname to your Docker container, so every time you stop and start it, the node name changes. Thats why you see a new node in the cluster every time you restart.

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
4 replies
@jbumgit
Comment options

@brandond
Comment options

brandond May 6, 2022
Collaborator

@tamama
Comment options

@tamama
Comment options

Answer selected by jbumgit
Comment options

You must be logged in to vote
7 replies
@jbumgit
Comment options

@ChristianCiach
Comment options

@ChristianCiach
Comment options

@jbumgit
Comment options

@jbumgit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants