Clone repository
Open terminal lalu cd path-to-repository/OracleDatabase/dockerfiles/
download installer oracle xe
simpan di folder 11.2.0.2
[oracle@localhost dockerfiles]$ ./buildDockerImage.sh -v 11.2.0.2 -x -i
docker image ls
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
cd dev/example/docker-images/oracle-docker-images/OracleDatabase/dockerfiles/11.2.0.2/ && docker exec oracle-suzuki ./setPassword.sh oracle
Pull payara from docker pull 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
docker container ls