메뉴 닫기

[Oracle] Oracle XE docker 설치 및 데이터

  • 참고 Docker Hub

https://hub.docker.com/r/gvenzl/oracle-xe

  • Oracle XE 21 Docker 설치
docker run -d -p 1521:1521 -e ORACLE_PASSWORD=oracle -v oracle-volume:/opt/oracle/oradata gvenzl/oracle-xe:21-slim
  • Sample 데이터 넣기

https://github.com/oracle-samples/db-sample-schemas

  • human 데이터 넣기

https://github.com/oracle-samples/db-sample-schemas/tree/main/human_resources

  • hr_create.sql 실행
  • hr_populate.sql 실행
  • 데이터 확인

Posted in Oracle

Related Posts