go to https://github.com/Aorjoa/docker-arm
then run make
command for compile docker 1.9.1
from here https://github.com/Aorjoa/Machine-Aiyara
run ./script/build
to compile these source.
$ ./docker-machine_linux-amd64 -D create -d aiyara --aiyara-host-range=192.168.5.201 node
$ docker $(/home/pk007server/src/github.com/docker/machine/docker-machine_linux-amd64 config rack-5-node-201) run -d -p 8400:8400 -p 8500:8500 -p 8600:53/udp -h "consul" aiyara/consul agent --data-dir /tmp -server -bootstrap 1
or
$ docker $(/home/pk007server/src/github.com/docker/machine/docker-machine_linux-amd64 config rack-5-node-201) run -d -p 8400:8400 -p 8500:8500 -p 8600:53/udp --net=host aiyara/consul:0.5.2 agent -data-dir /data -server -bootstrap-expect 1
***** Note that *****
If you can used only in locally mode try to set client to ip address.
docker run -d -p 8500:8500 --net=host aiyara/consul agent -server -data-dir /data -bootstrap-expect 1 -client=0.0.0.0
$ ./docker-machine_linux-amd64 -D create -d aiyara --aiyara-host-range=192.168.5.201 --swarm --swarm-master --swarm-discovery "consul://$(/home/pk007server/src/github.com/docker/machine/docker-machine_linux-amd64 ip rack-5-node-201):8500" node
$ ./docker-machine_linux-amd64 -D create -d aiyara --aiyara-host-range=192.168.5.202 --swarm --swarm-discovery "consul://$(/home/pk007server/src/github.com/docker/machine/docker-machine_linux-amd64 ip rack-5-node-201):8500" node
eval $(docker-machine env --swarm rack-5-node-201)