Oracle
Go to the oracle container in docker hub
Accept the license
- Fill the ccontact form
- Agree the license
- Agree the share
- Don’t keep the service publisher
Docker
Login the docker
docker login
Pull the docker image
docker pull store/oracle/database-enterprise:12.2.0.1
Run the container in foreground
docker run -it --name oracle -P store/oracle/database-enterprise:12.2.0.1
option -P indicates the ports are allocated by Docker. The mapped port can be discovered by executing
Check the exposed ports
docker port oracle
Connect
Open navicat application
Edit connection
Connection Name: docker-oracle Type: Basic Host Name/IP Address: 127.0.0.1 Service Name/SID: ORCLCDB (SID) Role: SYSDBA User Name: sys Password: Oradoc_db1
Other
Show all containers
docker ps -a
Remove contaimer
docker rm [CONTAINER_ID]
Reference
Setup documentation
- Docker Hub > My Content > Oracle Database Enterprise Edition > Setup