Home » Non-English Forums » French » oracle11XE dans un container Docker sous Windows host
oracle11XE dans un container Docker sous Windows host [message #656312] Sun, 02 October 2016 23:18 Go to next message
pcouas
Messages: 112
Registered: February 2016
Senior Member
Bonjour

Je souhaite installer sur plusieurs postes de développement differents outils dont Oracle.
J'ai installé la derniere version de Docker et essayé plusieurs images Oracle11XE. Aucune d'elles ne fonctionne dans mon container windows ?
Oracle peut t'il etre installé dans un container Docker pour Windows ?

Merci de vos réponses
Re: oracle11XE dans un container Docker sous Windows host [message #656313 is a reply to message #656312] Mon, 03 October 2016 00:20 Go to previous messageGo to next message
Barbara Boehmer
Messages: 9100
Registered: November 2002
Location: California, USA
Senior Member
https://blogs.oracle.com/OracleWebCenterSuite/entry/oracle_database_xe_as_docker
Re: oracle11XE dans un container Docker sous Windows host [message #656344 is a reply to message #656313] Mon, 03 October 2016 13:00 Go to previous message
pcouas
Messages: 112
Registered: February 2016
Senior Member
Hi,

I have tried this image on my Docker installed on Windows10

Regards

$ docker build -t o1 .
Sending build context to Docker daemon 315.9 MB
Step 1 : FROM oraclelinux:6
 ---> 175adfa05e40
Step 2 : MAINTAINER Justin Paul
 ---> Using cache
 ---> fce0d30b1a15
Step 3 : ENV _SCRATCH /tmp/scratch
 ---> Using cache
 ---> 5448b6655cec
Step 4 : COPY db/oracle-xe-11.2.0-1.0.x86_64.rpm.zip ${_SCRATCH}/db/
 ---> Using cache
 ---> 4f36f3233fbf
Step 5 : RUN yum update -y -q &&   yum install -y -q binutils compat-libcap1 compat-libstdc++-33   compat-libstdc++-33.i686 gcc gcc-c++ glibc glibc-devel glibc-devel.i686   libaio libaio-devel libgcc libgcc.i686 libstdc++ libstdc++.i686   libstdc++-devel libXext libXtst libXi openmotif openmotif22 redhat-lsb   sysstat zlib zlib.i686 libX11 libX11.i686 unzip xorg-x11-utils xorg-x11-xauth
 ---> Using cache
 ---> 1bdbb7cdb342
Step 6 : RUN unzip ${_SCRATCH}/db/oracle-xe-11.2.0-1.0.x86_64.rpm.zip -d ${_SCRATCH}/db &&   rpm -ivh ${_SCRATCH}/db/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm &&   sed -i 's/ORACLE_PASSWORD=/ORACLE_PASSWORD=welcome1/g'   ${_SCRATCH}/db/Disk1/response/xe.rsp &&   sed -i 's/ORACLE_CONFIRM_PASSWORD=/ORACLE_CONFIRM_PASSWORD=welcome1/g'   ${_SCRATCH}/db/Disk1/response/xe.rsp &&   /etc/init.d/oracle-xe configure responseFile=${_SCRATCH}/db/Disk1/response/xe.rsp
 ---> Running in 122cafe52bcd
Archive:  /tmp/scratch/db/oracle-xe-11.2.0-1.0.x86_64.rpm.zip
   creating: /tmp/scratch/db/Disk1/
   creating: /tmp/scratch/db/Disk1/upgrade/
  inflating: /tmp/scratch/db/Disk1/upgrade/gen_inst.sql
   creating: /tmp/scratch/db/Disk1/response/
  inflating: /tmp/scratch/db/Disk1/response/xe.rsp
  inflating: /tmp/scratch/db/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm
Preparing...                ##################################################
/var/tmp/rpm-tmp.X9ZtaE: line 257: [: 18446744073692774399: integer expression expected
/var/tmp/rpm-tmp.X9ZtaE: line 271: [: 18446744073692774399: integer expression expected
error: "Read-only file system" setting key "fs.file-max"
error: "Read-only file system" setting key "net.ipv4.ip_forward"
error: "Read-only file system" setting key "net.ipv4.conf.default.rp_filter"
error: "Read-only file system" setting key "net.ipv4.conf.default.accept_source_route"
error: "Read-only file system" setting key "kernel.sysrq"
error: "Read-only file system" setting key "kernel.core_uses_pid"
error: "Read-only file system" setting key "kernel.msgmnb"
error: "Read-only file system" setting key "kernel.msgmax"
error: "Read-only file system" setting key "kernel.shmmax"
error: "Read-only file system" setting key "kernel.shmall"
error: %pre(oracle-xe-11.2.0-1.0.x86_64) scriptlet failed, exit status 255
error:   install: %pre scriptlet failed (2), skipping oracle-xe-11.2.0-1.0
The command '/bin/sh -c unzip ${_SCRATCH}/db/oracle-xe-11.2.0-1.0.x86_64.rpm.zip -d ${_SCRATCH}/db &&   rpm -ivh ${_SCRATCH}/db/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm &&   sed -i 's/ORACLE_PASSWORD=/ORACLE_PASSWORD=welcome1/g'   ${_SCRATCH}/db/Disk1/response/xe.rsp &&   sed -i 's/ORACLE_CONFIRM_PASSWORD=/ORACLE_CONFIRM_PASSWORD=welcome1/g'   ${_SCRATCH}/db/Disk1/response/xe.rsp &&   /etc/init.d/oracle-xe configure responseFile=${_SCRATCH}/db/Disk1/response/xe.rsp' returned a non-zero code: 1
Previous Topic: Code ASCII for Oracle
Next Topic: FORMS SET_ITEM_INSTANCE_PROPERTY split from http://www.orafaq.com/forum/stt/203609/ in client tools
Goto Forum:
  


Current Time: Tue Dec 03 12:01:13 CST 2024