Rename the couchbase node if possible
Use a HOSTNAME if passed, otherwise use the IP as the HOSTNAME, but only if the IP is not the private network IP of the docker container