docker install oracleXE

Posted zqiushi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker install oracleXE相关的知识,希望对你有一定的参考价值。

docker oracle

https://hub.docker.com/r/sath89/oracle-xe-11g/
docker run -d -p 8080:8080 -p 1521:1521 -v /my/oracle/data:/u01/app/oracle sath89/oracle-xe-11g

create temporary tablespace YDM_DATA_temp tempfile‘/u01/app/oracle/oradata/XE/YDM_DATA_tmp.dbf‘ size 1024m autoextend on next 100m maxsize 10240m extent management local;

create tablespace YDM_DATA logging datafile‘/u01/app/oracle/oradata/XE/YDM_DATA.dbf‘ size 1024m autoextend on next 100m maxsize 10240m extent management local; 


create user ydm identified by myhg_2016_ydm_Z default tablespace ydm_DATA temporary tablespace YDM_DATA_temp;

grant connect to ydm;

create directory backup2 as ‘/u01/app/oracle/home/backup/oracle‘;

grant read,write on directory backup2 to ydm;


impdp system/oracle directory=backup2 dumpfile=ydm_20180502.dmp logfile=ydm_20180502.log REMAP_SCHEMA=ydm:ydmtest table_exists_action=replace  remap_tablespace=ydm_data:ydm_test_data;
技术分享图片

以上是关于docker install oracleXE的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu Server 21.04 Install 二进制 Install docker&docker-compose

Docker 0x03:Install Docker

Ubuntu install Docker

[Docker] docker install[1]

install docker on xubuntu

docker install