Skip to content

Instantly share code, notes, and snippets.

@laughingclouds
Created October 3, 2022 04:43
Show Gist options
  • Save laughingclouds/1ef69fbb9b2e61046dc6d37623e8c64e to your computer and use it in GitHub Desktop.
Save laughingclouds/1ef69fbb9b2e61046dc6d37623e8c64e to your computer and use it in GitHub Desktop.
Oracle DB Docker Initial Setup
# docker container initialization
docker run --name oracle-xe-21c \
-d -p 1521:1521 \
-e ORACLE_PASSWORD=x \
-v /mnt_point/oradata:/home/oracle/oradata \
gvenzl/oracle-xe
# connecting to container
docker exec -ti oracle-xe-21c sqlplus / as sysdba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment