code: function publicIp(server) {
    if (/direct/.test(server.getDriverInfo().type)) {
      return '127.0.0.1';
    }
    return _(os.networkInterfaces())
            .omit(['docker0', 'docker1', 'docker2'])
            .values()
            .flatten()
            .where({family: 'IPv4', internal: false})
            .pluck('address')
            .first()
            || '127.0.0.1';
  }
docs: TODO: This should probably be configurable, but for now just grab the first non-internal IPv4 address we find  On a machine with no networking, there is no external address. Returning `undefined` as the hostname goes badly, throwing an error just kills the server, so soldier on with a localhost IPv4 address, which works fine on a laptop with no wireless.