I am trying to create a swarm cluster of Raspberry Pi(s). I have installed docker and docker machine in the Raspberry Pi. I intend to make one of the Raspberry Pis to be the Manager node.
When I am executing the command:
docker swarm init --advertise-addr 192.168.1.148
It is giving me an error:
docker: 'swarm' is not a docker command.
Am I missing any basic configuration or I haven't installed any necessary package?
I have followed all the instructions from: Docker Documents
Thanks in advance.