반응형

설치환경은 window 10 내에 oracle VM내에 가상 CentOS 7이다.

 

#docker search oracle

#docker search oracle

하면 여러 개 나온다.

docker search oracle

 

 

많이 사용하고 별점 많은걸 기준으로 oracleinanutshell/oracle-xe-11g 요놈을 선택했다.

 

#docker pull oracleinanutshell/oracle-xe-11g

#docker pull oracleinanutshell/oracle-xe-11g

docker pull oracle

pull 받을 때 로그인하라고 해서 허브에서 사용자 생성하고 로그인 후 받았다.

하단에 보면 알지만 no space left on device 때문에 삽질 후 진행할 수 있었다.

 

#docker run -d -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true oracleinanutshell/oracle-xe-11g

#docker run -d -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true oracleinanutshell/oracle-xe-11g

docker run oracle

 

#docker ps로 container id를 확인후 bash로 해당 컨테이너로 접속한다.

#docker exec -it cbb692a17cc5 bash

#docker exec -it cbb692a17cc5 bash

#sqlplus

#sqlplus


기본 접속 정보다.

hostname: localhost
port: 49161
sid: xe
username: system
password: oracle

반응형

+ Recent posts