Skip to content

Instantly share code, notes, and snippets.

@repoplus
Last active August 23, 2016 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save repoplus/5831b25a568746bae96ba5fd8f8b29ec to your computer and use it in GitHub Desktop.
Save repoplus/5831b25a568746bae96ba5fd8f8b29ec to your computer and use it in GitHub Desktop.

wnameless/oracle-xe-11g使用

1、拉取

docker pull wnameless/oracle-xe-11g

2、部署

 docker run -d -p 49160:22 -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g

3、连接信息

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

4、连接到oracle容器宿主机

ssh root@localhost -p 49160
root@localhost's password: admin

5、连接到宿主机终端

su - oracle
sqlplus '/as sysdba'

6、enjoy it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment