Creating new database programmatically when running Docker container

I have the community container up and running. I cannot figure out how to programmatically create a new database. Looking at the Driver class I see nothing about creating a new database.

I found examples for embedded database, but a pathname for the new database. Do I go this route and simply use same store dir as the neo4j home data env location?

Or, is Cypher the best approach?

Community can only have the default database (neo4j) and system. You can't create another database.
Assuming java....
The driver docs tell you how to connect to the database.
You also want to look here Java Reference - Java Reference
and..
The docs here can show you how to do create/drop, etc. ClusterDatabaseManagementService (Neo4j 4.2.19 API)

Thanks. I will proceed accordingly.