Open navinSing opened 8 years ago
@navinSing can you clarify what you are looking for? E.g.: are you trying to use these compose files to setup a mesos or kubernetes cluster on your local machine without using Virtual machines?
Looking for just 2 things ..
I spent like 3 days trying to do this without success.
It will be great if you can help me here.
Thanks
On Dec 11, 2015 11:54 PM, "Amit Shukla" notifications@github.com wrote:
@navinSing https://github.com/navinSing can you clarify what you are looking for? E.g.: are you trying to use these compose files to setup a mesos or kubernetes cluster on your local machine without using Virtual machines?
— Reply to this email directly or view it on GitHub https://github.com/docker/swarm-frontends/issues/6#issuecomment-164009468 .
@navinSing if you look at init_swarm.sh, you should be able to use this command as a template to get swarm on the machine: echo "----- create a machine for swarm node 5 -----" docker-machine create -d virtualbox --swarm \ --swarm-discovery="consul://$(docker-machine ip mh-keystore):8500" \ --engine-opt="cluster-store=consul://$(docker-machine ip mh-keystore):8500" \ --engine-opt="cluster-advertise=eth1:2376" \ swarm-node-05
After this, you should be able to use the compose file to configure Mesos master, slaves etc.
Look at the docker-machine documentation for your specific scenarion. For example, this page lists how to use docker-machine to configure a machine in AWS: https://docs.docker.com/machine/drivers/aws/
@amitshukla , sorry.. let me clarify .. i am looking for bare metals .. at this moment not aws or vagrant.
Assume that i have a linux machine. what all things i should do to join it to the swarm. I was specifically looking at mesos example.
so i will have to install swarm-agent and mesos slave .. what will be the order. What ssh keys sharing i need to do ..
Also if i can get a local docker registry it will be great..
@navinSing please read this article: https://blog.codefresh.io/docker-machine-basics/ And use the generic driver (Ubuntu server over ssh).
nah, that is not what i was looking for it simply installs docker-machine on that host, looking for a swarm cluster to connect to the rest of the machines. The example doesn't use ssh keys etc..
any updates on this .. please
what would be the steps for bare-metals .. want to setup local env