Since we might run and stop several containers, we want to at least keep the data
mkdir workspace/oracle
chmod ugo+rwx -R workspace/oracle
docker run -d -it -p 1512:1512 -v $HOME/workspace/oracle/:/ORCL store/oracle/database-enterprise:12.2.0.1-slim
docker exec -it CONTAINER_ID bash
sqlplus sys/Oradoc_db1@ORCLCDB as sysdba
SQL> alter session set "_ORACLE_SCRIPT"=true;
SQL> create user test identified by testpass;
SLQ> grant dba to test;
SQL> quit
docker system prune --volumes