I've recently started learninf docker swarm and i was experimenting while i came across the following error
Error response from daemon: could not choose an IP address to advertise since this system has multiple addresses
command that caused this error:
docker-machine create -d virtualbox node-1
docker-machine create -d virtualbox node-2
docker-machine create -d virtualbox node-3
eval $(docker-machine env node-1)
docker swarm init \
--secret my-secret \
--auto-accept worker \
--listen-addr $(docker-machine ip node-1):2377
Whats happening?