Professional Documents
Culture Documents
WebLogic On Containers On-Prem Cloud PDF
WebLogic On Containers On-Prem Cloud PDF
WebLogic On Containers On-Prem Cloud PDF
An instantiation of an image
Set of processes required to run a service
Small or large :
a single command e.g. ping
a full operating system with multiple services nested in the container
docker info
Get help
docker –help
docker <command> --help
DOCKERFILES AND DOCKER-COMPOSE FILES
Dockerfiles
Command file to build an image and issue first start command
Each command builds a new layer
docker-compose file
YAML Format
Development deployment tool
STORAGE
Volumes
Docker Managed external to container
Different drivers possible
Bind Mounts
Mapped to host file system / directory
Potentially useful for development
Shared storage?
SWARM, SERVICES AND STACKS
Services
Services allow scale and redundancy
Containers abstracted
Stacks
can use YAML files in same way as docker-
compose
production ready
define full stack of services and dependencies
SWARM MODE
ORACLE RESOURCES
Docker Store
https://store.docker.com/images/oracle-weblogic-server-12c
docker image ls
(look for password entry at the top of the log output and enter weblogic/password)
Login weblogic:<password> at
http://localhost:7001
DEMO 2 : BUILDING A DOCKER WEBLOGIC
SWARM IN MICROSOFT AZURE
DEMO 2 : BUILDING A DOCKER FOR AZURE
SWARM AND DEPLOYING WEBLOGIC
DEMO 2 : BUILDING A DOCKER WEBLOGIC
SWARM IN MICROSOFT AZURE
docker image pull container-registry.oracle.com/middleware/weblogic:12.2.1.2
docker image ls
docker service ls
docker service ps <container>
docker container logs wls-1221-base
Login weblogic:<password> at
http://localhost:7001
2. Create nodes
3. Initialise swarm on node 1
4. Add workers and managers on other nodes
5. Check configuration
6. Experiment !!!