2. 將準備好的 SQL file(s) 放到特定目錄下
3. 指定 volume,將 sql 所存放的路徑 (i.e. /Users/guojunyou/Documents/docker/local-initdb) 對應到 /etc/entrypoint-initdb.d
docker run -d --shm-size=2g -p 8080:8080 -p 1521:1521 \ -e NLS_LANG="TRADITIONAL CHINESE_TAIWAN.AL32UTF8" \ -v /Users/guojunyou/Documents/docker/local-initdb:/etc/entrypoint-initdb.d \ 42dda6eba3ea
Reference
[1] https://hub.docker.com/r/orangehrm/oracle-xe-11g
No comments:
Post a Comment