Address: https://github.com/wnameless/docker-oracle-xe-11g. direct git clone to local.
# #安装
Under Docker Shell:
docker pull wnameless/oracle-xe-11g
Run and open 49160 and 49161 ports for 22 ports and Oracle Ports (SSH and Oracle database)
49160:22 -p 49161:1521 wnameless/oracle-xe-11g
The database information is as follows:
hostname: localhostport: 49161sid: xeusername: systempassword: oracle
The initial password for both system and SYS isoracle
The root password for Container SSH is admin .
It is necessary to note that the Docker container is connected via SSH on OS X using Docker's IP instead of localhost.
Once the installation is complete, you can connect to the database by configuring the database information described above by the client. The figure is the configuration interface for SQL Developer attached to the database in Docker under OS X.
Turn from: 53072537
Configuring Oracle on Docker