title: Oracle 18c xe docker image doesn't start
body: <p>I have tried to build the docker image for Oracle 18c xe using these links below:
  <br /><a href="https://learncodeshare.net/2019/04/22/quick-and-easy-setup-oracle-xe-and-ords-using-docker/" rel="nofollow noreferrer">Build Oracle docker image 1</a>
  <br /><a href="https://blogs.oracle.com/oraclemagazine/deliver-oracle-database-18c-express-edition-in-containers" rel="nofollow noreferrer">Oracle blog for docker image</a>
  <br />Then, I tried to use the command below to solve the issue from this link <a href="https://github.com/oracle/docker-images/issues/1522" rel="nofollow noreferrer">Oracle Github issue page</a> and also added a comment at the bottom of the same page:
  <code>docker run --name mydb --cpuset-cpus=&quot;0-7&quot; -p 51521:1521 -p 55500:5500 -e ORACLE_PWD=mysecurepassword -e ORACLE_CHARACTERSET=AL32UTF8 oracle/database:18.4.0-xe</code> and, it still doesn't work!
  It throws the exact same error as below:</p>
  <pre><code>docker logs 701720e132af
  ORACLE PASSWORD FOR SYS AND SYSTEM: Password1_One
  Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:
  Confirm the password:
  Configuring Oracle Listener.
  Listener configuration succeeded.
  Configuring Oracle Database XE.
  Enter SYS user password: 
  ***************
  Enter SYSTEM user password: 
  ************
  Enter PDBADMIN User Password: 
  **************
  Prepare for db operation
  7% complete
  Copying database files
  8% complete
  [WARNING] ORA-00821: Specified value of sga_target 600M is too small, needs to be at least 632M
  ORA-01078: failure in processing system parameters
  
  9% complete
  [FATAL] ORA-01034: ORACLE not available
  
  29% complete
  100% complete
  [FATAL] ORA-01034: ORACLE not available
  
  7% complete
  0% complete
  Look at the log file &quot;/opt/oracle/cfgtoollogs/dbca/XE/XE.log&quot; for further details.
  
  Database configuration failed. Check logs under '/opt/oracle/cfgtoollogs/dbca'.
  mv: cannot stat '/opt/oracle/product/18c/dbhomeXE/dbs/spfileXE.ora': No such file or directory
  The Oracle base remains unchanged with value /opt/oracle
  #####################################
  ########### E R R O R ###############
  DATABASE SETUP WAS NOT SUCCESSFUL!
  Please check output for further info!
  ########### E R R O R ###############
  #####################################
  The following output is now a tail of the alert.log:
  tail: cannot open '/opt/oracle/diag/rdbms/*/*/trace/alert*.log' for reading: No such file or directory
  tail: no files remaining
  </code></pre>
  <p>Building the images succeeds when I use the below command:</p>
  <pre><code>docker build --force-rm=true \
               --no-cache=true \
               --shm-size=1G \
               --build-arg DB_EDITION=xe \
               -t oracle/database:18.4.0-xe \
               -f Dockerfile.xe .
  </code></pre>
  <p>Then I see the image as below:</p>
  <pre><code>docker images
  REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
  oracle/database     18.4.0-xe           fe0fe8a16d63        17 minutes ago      5.89GB
  </code></pre>
  <p>Specifying the number of CPU's to use worked before but, I had to format my MacBook Pro 16&quot; (2019) which now uses the latest version of Catalina 10.15.7, Intel i9 2.4GHz 8-core and 64GB RAM. Please help as I REALLY need this for testing and practice. Thanks!</p>
  <p>P.S: even when I used the provided build script in the GitHub project, I still get the same error!</p>