it will download a minimal Oracle Linux 7 image, Puppet and all its dependencies
Configures Puppet, Hiera and use librarian-puppet to download all the required modules from puppet forge
- WebLogic 12.2.1.2 AdminServer on port 7001, password = weblogic1
- Cluster with one member on port 8001
- Distributed JMS
- Nodemanager port 5556
or configure your own WebLogic environment by changing the common.yaml and build your own WLS image
Download the following software from Oracle and Agree to the license
- jdk-8u111-linux-x64.tar.gz
- fmw_12.2.1.2.0_wls.jar
Add them to this src/main/docker/wls directory
- cd src/main/docker/wls
- docker build -t oracle/weblogic1221 .
or with maven
- mvn package, build image
- mvn verify, local bring up, test and destroy
- mvn install, bring up
probably you want to compress it, just go to the Compress section for more information
default, it will start the Nodemanager & the AdminServer
- docker run -i -t -p 7001:7001 -p 8101:8101 -p 5556:5556 oracle/weblogic1221:latest
with bash
docker run -i -t -p 7001:7001 -p 8101:8101 -p 5556:5556 oracle/weblogic1221:latest /bin/bash
- start /startWls.sh
- ID=$(docker run -d oracle/weblogic1221:latest /bin/bash)
- docker export $ID > weblogic1221.tar
- cat weblogic1221.tar | docker import - weblogic1221
- docker run -i -t -p 7001:7001 -p 8101:8101 -p 5556:5556 weblogic1221:latest /bin/bash
- /startWls.sh
-
docker-machine create --driver vmwarefusion --vmwarefusion-disk-size 40960 vm
-
docker-machine ip {{ your machine name }}
-
/Library/Preferences/VMware\ Fusion/vmnet8/nat.conf
Find the section:
[incomingtcp]
# Use these with care - anyone can enter into your VM through these...
# The format and example are as follows:
#<external port number> = <VM's IP address>:<VM's port number>
80 = {{ your machine ip }}:80
Now run the following:
- sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop
- sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start