docker测试oracle

数据库这种东西安装到个人机器上很难受,特别是 oracle 这种,用 docker 来测试就不错。

docker search oracle
docker pull oracleinanutshell/oracle-xe-11g

docker run --name docker_oracle -d -p 8080:8080 -p 1521:1521 oracleinanutshell/oracle-xe-11g

docker exec -it docker_oracle /bin/bash
su oracle
sqlplus /nolog
conn /as sysdba
passwd system   qwerty
sqlplus system/qwerty@xe
show all

管理页面 http://localhost:8080

dbeaver 百度搜索 ojdbc6.jar 下载,在测试界面安装。官方要登录的,太磨炼了。


Share Tweet Send
0 Comments
Loading...

Related Articles

You've successfully subscribed to 隔窗听雨
Great! Next, complete checkout for full access to 隔窗听雨
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.
豫ICP备19045256号-1