[yugabyted] How to ACTUALLY set the master address?

I’m trying to set the master address because the automatic IP address that is detected does not work since I’m running Yugabyte inside a docker container where IPs are dynamic and change depending on which (Compose) service starts first. When it does change, the old IP remains in the config, and Yugabyte locks up because it endlessly attempts to connect to the old IP.

Read this for more details, and keep in mind that the mentioned “fix” was temporary: Unable to determine master addresses - #5 by HeCorr