I'm using https://github.com/gvenzl/oci-oracle-xe#initialization-scripts with:
docker run --rm --name oracle -p 1521:1521 -e ORACLE_PASSWORD=letmein -v $pwd/sample-data:/container-entrypoint-initdb.d gvenzl/oracle-xe:full
sample-data contains 1_create_user.sql 2_create_data_model.sh as described in the Github repo.
First problem I had was connecting to DB via Datagrip. I had use Service Name XEPDB1 as the default SID connection type didn't work.
Once connecting with test/test (as setup by init script) using jdbc Oracle 21 driver it doesn't show the table in the sidebar. Is that to be expected?