If omitted the database will not be persisted over container recreation.ġ. Has to be owned by the Unix user „oracle“ or set appropriately. Start a new container with an Oracle XE database docker run -name OracleXE -shm-size=1g -p 1521:1521 -p 8080:8080 -e ORACLE_PWD=weblogic1 oracle/database:11.2.0.2-xe Verify the existence of the new image docker imagesħ. Build the Oracle XE Docker Image ( see documentation for more details). docker-images/OracleDatabase/dockerfiles/11.2.0.2ĥ. Copy the downloaded file into the folder. Download the Oracle XE software from Oracle Technology NetworkĤ. Navigate to github to get official Docker images for Oracle Softwareģ.
Docker software for macOS is installed and configured ( Download Docker for Mac).ġ.The database setup needs only minutes and works very well for development and testing purposes.
The following steps are very simple and easy. This article explains how to create and use a Docker container with an Oracle XE database on macOS.