Mac安装oracle(使用Docker)

Mac安装oracle(使用Docker)

博客说明docker

文章所涉及的资料来自互联网整理和我的总结,意在于我的学习和经验汇总,若有什么地方侵权,请联系本人删除,谢谢!shell

安装

拉取oracle 11g 镜像,这个版本能够自行选择bash

docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g

安装oracle容器oracle

docker run -dp 9090:8080 -p 1521:1521 registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g

进入容器学习

docker exec -it 容器id /bin/bash

容器id能够经过一下命令查询测试

docker ps -a

使用navicat链接

默认值

服务名:helowincode

用户名:systemblog

密码:helowin博客

测试

image-20200717224337758

中止/启动oracle服务:it

docker stop oracle
docker start oracle

感谢

百度百科

以及勤劳的本身

关注公众号: 归子莫,获取更多的资料,还有更长的学习计划

相关文章
相关标签/搜索