`
郑云飞
  • 浏览: 797749 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Oracle in Docker

 
阅读更多

1.从阿里云容易Hub里面搜索oracle的docker镜像



 2.把镜像拉到本地

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

3.启动容器: docker run -d --name oracle_11g -p 1521:1521 registry.aliyuncs.com/helowin/oracle_11g

(plsql navicat等连接要注意端口的映射 )

1.进入容器 docker exec -it 容器ID /bin/bash

2.加载环境变量 source /home/oracle/.bash_profile

3.登录 sqlplus /nolog

connect /as sysdba 到这里就可以进行您想要的任何操作了

容器系统用户 root:helowin

(如需用plsql工具连接 请设置用户和密码) 举例:

create user test identified by test;

grant connect,resource,dba to test;

如需映射oracle的数据文件 把容器内对应的文件,拷贝到宿主机,映射即可(如下)

/home/oracle/app/oracle/oradata/

/home/oracle/app/oracle/flash_recovery_area/helowin/

推荐使用docker-compose管理

  • 大小: 37.4 KB
分享到:
评论

相关推荐

    Pro Docker

    He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Nexthemoves onto NoSQL with chapter on MongoDB Cassandra, andCouchbase. Then he addresses the use of Docker in ...

    Pro Docker 无水印pdf 0分

    He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Next he moves on to NoSQL with chapter on MongoDB Cassandra, and Couchbase. Then he addresses the use of Docker ...

    Apress.Pro.Docker

    He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Next he moves on to NoSQL with chapter on MongoDB Cassandra, and Couchbase. Then he addresses the use of Docker ...

    利用python-oracledb库连接Oracledb数据库,使用示例

    1. The schemas and SQL objects that are referenced in the samples can be created by running the Python script [create_schema.py][1]. The script requires SYSDBA privileges and will prompt for these ...

    docker-oracle-apex:要安装的映像将Oracle Application Express卸载到Oracle数据库

    docker run -it --rm --volumes-from ${DB_CONTAINER_NAME} --link ${DB_CONTAINER_NAME}:oracle-database quay.io/maksymbilenko/docker-oracle-apex:5.1.2 install #In that case build woud be with default ...

    Pro Docker(Apress,2015)

    He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Next he moves on to NoSQL with chapter on MongoDB Cassandra, and Couchbase. Then he addresses the use of Docker ...

    Pro.Docker.148421829

    In this fast-paced book on the Docker open standards platform for developing, packaging and running portable distributed applications, Deepak Vorha discusses how to build, ship and run applications ...

    Pro Docker: Learn how to use Containers as a Service for development and

    He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Next he moves on to NoSQL with chapter on MongoDB Cassandra, and Couchbase. Then he addresses the use of Docker ...

    docker-oracle-xe-11g:Oracle Database Express Edition 11g第2版的Dockerfile

    docker-oracle-xe-11g Ubuntu 18.04 LTS上的Oracle Express Edition 11g第2版 该Dockerfile是的。 自2019年2月13日(情人节前夕)起,由于...+ Thanks for the help from the staff in Oracle with my DMCA Takedown

    Docker Windows下如何安装详细介绍(图文)

    Docker Windows 介绍及安装 前言: 放在三年前,你不认识Docker情有可原,但如果现在你还这么说,不好意思,只能说明你OUT了,行动起来吧骚年,很可能你们公司或者你即将要去的公司,或者你想去的公司很可能就会引入...

    oracledb_exporter:Prometheus Oracle数据库导出器

    Oracle数据库导出器 目录 描述 Oracle的导出器以MySQL导出器为模型。 我不是DBA或经验丰富的Go开发人员,因此PR绝对受欢迎。 当前公开以下指标。 oracledb_exporter_last_scrape_duration_seconds oracledb_...

    在Windows系统下安装docker窗口的配置过程

    前言 目前对docker支持最好的是Ubuntu系统,docker不支持在... Oracle VM VirtualBox 安装之前需要检查BIOS中虚拟化的设置是否已打开,参考此页面 1、下载安装文件 https://www.docker.com/toolbox 2、双击安装文件

    Partitioning Trust in Network Testbeds

    Partitioning Trust in Network Testbeds

    Linux下Docker安装配置教程

    虚拟机:Oracle VMVirtualBox Linux: ubuntukylin-14.04.1-amd64.iso JDK:1.7 一.环境准备 step1:安装虚拟机 step2:修改宿主机BIOS配置,详细步骤见文章://www.jb51.net/article/96239.htm step3:在虚拟机上安装...

    windows宿主机和docker容器设置挂载共享文件夹的步骤

    1. 打开Oracle VM VitualBox: 2. 点击【设置】->点击左侧的【共享文件夹】 3. 双击默认的【c/Users \\?\c:\Users】,进行编辑,这里设置D盘下的data为挂载共享目录,名称可修改,此处设为”data”。 点击确定 4....

    Python爬虫学习笔记(那段在win10下安装Docker的不堪回首的往事)

    4.如果你的是Windows家庭版的系统,想用虚拟机,咱还是用Oracle的吧 5.因为“墙”的原因,贫穷的秃头程序员访问不了很多技术、资源网站,但是我们要记得,我们有水木清华,我们有马爸爸,我们有很多同病相怜的同类,...

    Grafana_OEM_APP:Oracle Enterprise Manager App的Grafana安装示例

    适用于Oracle Enterprise Manager App的Grafana安装示例的Docker-Compose手册 此应用程序的更多信息: Oracle Post- 我已经为docker-compose安装类型创建了这个github存储库,但是仅使用docker或任何其他方法进行...

    oracle-free-tier-wirehole

    $ # Fill in .tfvars file $ terraform plan $ terraform apply 有关完整说明,请参阅 docker-compose 成功输出: $ docker-compose up Starting unbound ... done Starting pihole ... done Starting wir

    Practical OneOps

    Nilesh Nimkar has 18 years of experience in the IT industry, where he worked as a Release Manager for 13 years with the world's top banks, hedge funds, and data providers, such as Interactive Data, ...

    flink-cdc-connectors:更改Apache Flink的数据捕获(CDC)连接器

    Flink CDC连接器 Flink CDC连接器是Apache Flink的一组源连接器,使用更改数据捕获(CDC)从不同的数据库中提取更改。 Flink CDC连接器将Debezium集成为引擎来捕获数据更改。 因此,它可以充分利用Debezium的功能。...

Global site tag (gtag.js) - Google Analytics