-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORACLE_PDB being overwritten for 23ai Free #2853
Comments
The CDB and PDB names for the 23ai Free Edition are fixed in the RPM and can't be customized when starting the container. You could work around this (if you really wanted to) by editing
This section of my repo does something similar and might work to give you an idea of how to accomplish this: Optionally, you could Disclaimer: I didn't test this, so no guarantees, and IDK if this violates any license agreements. YMMV, caveat emptor, proceed at your own risk, etc. 😄 |
Thanks Sean - that seems to not line up with the container docs and what I'm seeing in the shell script for it. On the docs on the Oracle registry under "Custom Configurations" it describes this as possible. The container entry script does have the potential to call the script to create a PDB, it's just in the linked section above the documented environment variable is being ignored. If the docs are wrong that's understandable but it would be useful to update them. |
The documentation applies to the non-23ai Free builds and probably hasn't been updated to reflect this. The code block you see is the workaround for the fixed SID/PDB names. If I recall correctly, I believe there's something similar for 11g XE and 18c XE. |
I updated the documentation to clarify the limitation in the 23ai and 11g/18c XE sections, added a note on defaults to the documentation of the docker-images/OracleDatabase/SingleInstance/README.md Lines 403 to 404 in cb1416b
|
Hi,
I'm running into a problem trying to customise the PDB being created in the 23ai Free image. The documentation says the ORACLE_PDB environment variable can be used to customise this, but when set it is ignored and FREEPDB1 created. I think this is due to this block overwriting any passed value. Line 214 later on handles the default value, so could the export below could potentially be removed?
The text was updated successfully, but these errors were encountered: