-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running containers on docker in windows [ERROR] #13247
Comments
Hi! First of all, it seems that the bat script has launched only one node. You need to understand where you got the ip addresses 10.20.30.1 10.20.30.2 10.20.30.3, is there an ip address from the network 10.20.30.0/24 on the host system? If not, then you need to take free addresses from the network whose address is assigned on the docker interface. Or just try to use You need to understand the routing between docker containers. After all, please check the launch of |
I don't have windows nearby to check, but something like this should work
console window №1
console window №2
console window №3
console window for etcdctl (note that we are connecting to the container with etcd №1)
Adopted for windows from http://play.etcd.io/install#top |
Thank you for your comments. So I tried by copying adding your examples to separate batch files resulting in this for the first node
However, this resulted in the following error. Even when I tried to change my path this occurred. It might be because the build.bat file didn't work so I am working in a directory instead (not sure if that makes sense)
I found then others had said it worked when they removed the volume, so I did and I think this produced a correct log? (Thought they would keep electing?)
Etcdctl however won't respond when I try the command you mentioned and the one given on the website.
Do you have an idea of what is wrong? |
Of course, there is very little left that is not true)))
Or correct your second etcdctl command, you specified the wrong port, for node 1, the port should be 12379 |
My apologies for that. However, when I use the correct port the error persists
and when using the command you provided
and when specifying the path of my etcdctl.exe
|
Hmm, there was no bash in the image :-( console 2 console 3 console 4
|
Thank you so much, it seems to be working! Hope I can bother you with two more questions.
Feel free to refer to somewhere to read. My problem googling these problems has been the lack of tutorials and forums. |
|
Alright thank you very much! You have saved me weeks of work. |
Hi all,
I am newbie to etcd and been stuck on this for weeks and could really use some help.
I want to start a 3-node cluster on windows using docker container. By following the documentation I pasted the following as a batch file:
When I run the .bat only of the nodes seem to be starting and I get these errors:
When I run the command to check the member list the following appears:
Running on windows 10 latest version of etcd. All the ports are open.
Appreciate all the help I can get.
The text was updated successfully, but these errors were encountered: