Using names instead of ips
Hi, I noticed some parts of the tutorial work with assumption on ips, specifically 127.18.x.x
In my case, ./service start
would fail with the message ERROR: Pool overlaps with other one on this address space
. The problem was that the subnet ip was overlapping with the one docker gave to the docker_gwbridge
. This might happen to people that previously tested docker swarm
.
For the records, I had to disable the docker swarm mode of my host (I was not using it) with docker swarm leave --force
and then docker network prune
to get the docker_gwbridge
network deleted.
So, given that the tutorial seems to be using the same network, wouldn't it be a bit safer for example to use service names instead?