Docker.github.io: Clarify for linux users that you will need to specify an --advertise-addr

Created on 21 Jun 2017  Â·  3Comments  Â·  Source: docker/docker.github.io

File: get-started/part3.md, CC @johndmulhausen
Just a suggestion, maybe you should clarify for linux users that you will need to specify an --advertise-addr if the "Error response from daemon: could not choose an IP address to advertise since this system has multiple addresses on interface..." error comes up.

Most helpful comment

We do specify that:
https://docs.docker.com/get-started/part4/#create-a-cluster

Brilliant this really helps in step 3 of the tutorial. So the plan is to waste the persons time by making them search google. Why doesn't anyone just take a few minutes and fix the documentation with a simple note?

All 3 comments

We do specify that:
https://docs.docker.com/get-started/part4/#create-a-cluster

Got an error about needing to use --advertise-addr?

Copy the IP address for myvm1 by running docker-machine ls, then run the docker swarm init command again, using that IP and specifying port 2377 (the port for swarm joins) with --advertise-addr. For example:

docker-machine ssh myvm1 "docker swarm init --advertise-addr 192.168.99.100:2377"

Hi John

Sorry, I tried to close the issue after I found the instructions.

Regards,

Shamil

On Mon, Aug 28, 2017 at 8:21 PM, John Mulhausen notifications@github.com
wrote:

Closed #3674 https://github.com/docker/docker.github.io/issues/3674.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/docker/docker.github.io/issues/3674#event-1224723664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH8DlgP5OMBA6ZaxVj86oaic1HXz4aO1ks5sc1mQgaJpZM4OAZqt
.

--
Shamil Kashmeri
mobile: 647.909.6258
email: [email protected]

We do specify that:
https://docs.docker.com/get-started/part4/#create-a-cluster

Brilliant this really helps in step 3 of the tutorial. So the plan is to waste the persons time by making them search google. Why doesn't anyone just take a few minutes and fix the documentation with a simple note?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bharathkumarraju picture Bharathkumarraju  Â·  3Comments

KantarBruceAdams picture KantarBruceAdams  Â·  4Comments

joaofnfernandes picture joaofnfernandes  Â·  3Comments

GPPassos picture GPPassos  Â·  3Comments

etoews picture etoews  Â·  3Comments