Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 1.44 KB

Installation-docker.md

File metadata and controls

61 lines (38 loc) · 1.44 KB

Installation oracle

Clone repository

Open terminal lalu cd path-to-repository/OracleDatabase/dockerfiles/ download installer oracle xe simpan di folder 11.2.0.2

image location

build image

[oracle@localhost dockerfiles]$ ./buildDockerImage.sh -v 11.2.0.2 -x -i

check image build

docker image ls 

image location

run oracle database

docker container run --name oracle-suzuki --shm-size=1g -p 1521:1521 -e ORACLE_PWD=admin -d oracle/database:11.2.0.2-xe

untuk melihat status

docker container ls

image location

set password system/sys/dba

cd dev/example/docker-images/oracle-docker-images/OracleDatabase/dockerfiles/11.2.0.2/ && docker exec oracle-suzuki ./setPassword.sh oracle

Installtain Payara server

Pull payara from docker pull payara/server-full

Run server payara/server-full

docker run -p 4848:4848 -p 8081:8080 --name payara-suzuki -v $(pwd)/target/jaxrs-example/:/opt/payara41/deployments/jaxrs-example/ -v /Users/dimmaryanto93/.m2/repository/com/oracle/ojdbc6/11.2.0.3/:/opt/payara41/glassfish/domains/domain1/lib/ext  -d payara/server-full

check configuration

docker container ls

docker