uicpharm / docker-host

Script and configuration for standing up a Docker host
0 stars 0 forks source link

Improve docker swarm init process to handle errors/multiple IPs #9

Closed joshuacurtiss closed 1 year ago

joshuacurtiss commented 1 year ago

The docker swarm init process should handle retries if there was an error, since it's a critical expectation that it worked if it proceeds.

Additionally, if it fails because of the system having multiple IPs, it should be able to list the IPs, list them, let the user select one, and then use --advertise-addr to select the right IP.