private String[] buildMongoEvalCommand(final String command) {
        return new String[] {
            "sh",
            "-c",
            "mongosh mongo --eval \"" + command + "\"  || mongo --eval \"" + command + "\"",
        };
    }
Gets a replica set url for a provided <code>databaseName</code>.

@param databaseName a database name.
@return a replica set url.
modules/mongodb/src/main/java/org/testcontainers/containers/MongoDBContainer.java