This sample demonstrates how to create a cluster of WebLogic on a multihost network of Docker containers. To get this up and running, follow these steps:
- Install Docker 1.9+ and Docker Machine (as well VirtualBox)
- Checkout the
docker-images
repository and go intoOracleWebLogic
folder - Build the Docker images for WebLogic 12.2.1 Developer distribution, and then
samples/1221-domain
- Go into samples/1221-multihost and run the
bootstrap.sh
script in your host environment - Find the IP address of the Docker Machine
weblogic-master
and go to http://:8001 to access the Admin Console - Create a new Docker Machine to participate in the Swarm, by running
create-machine.sh
- Create a new containerized WebLogic Managed Server to join the WebLogic domain of the Swarm above, by running
create-container.sh
- Check the Admin Console to see the new Managed Server
- Create as many Managed Servers on the same Docker Machine as you want, by calling
create-container.sh [docker machine]
- Check the web console again.
Enjoy multihost WebLogic on Docker.
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.