Oracle Container Cloud Service enables you to manage your enterprise scale
docker environment with an easy-to-use interface and useful tools that support
the deployment and monitoring of containerized services and application
sacks. You can also use it to pull and run Oracle images available on the
Docker Store. Carry on watching to find out how to pull an Oracle WebLogic
Server image, run it as a container, and then launch the WLS Admin Console. Sign in to
the Container Console using the credentials you've received from your
administrator. Go to the Registries page. Click New Registry to create a new
registry definition for the Docker Store. Specify index.docker.io/store as a
URL of the Docker Store. Then, specify your Docker username and password that
Oracle Container Cloud Service will use to log in to the docker store and give
the new registry definition a meaningful description. You can confirm
the connection details by clicking the Validate button. Save the new registry
definition. Now create a new service for the WLS image that you're going to pull
from the Docker Store. Go to the Services page, click New
Service, and give the service a name. Other properties have intelligent
defaults so you don't have to change them but you do need to know the Docker
run command to use. You can get that from information about the WLS image in the
Docker Store. Open a new browser tab and go to store.docker.com. In the Find box,
search for Oracle WebLogic Server and select it. On the WLS page, click the Get
Content button, select the checkbox to agree to the Terms of Service, and click
the Get Content button again. The command to run the WLS container is
shown in the description. Copy the one that explicitly specifies the host port
as 7001. Go back to the Container Console Service Editor, display the
Docker Run tab and paste in the run command you just copied. Save the new
service. To deploy the WLS image as a running container, go to the Services
page and click the Deploy button beside the service's name. Accept the default
deployment options in the Deploy dialog and click Deploy. The Deployments page
shows Oracle Container Cloud Service pulling the image from the Docker Store
and then deploying and running it as a Docker container. WLS is now running.
To log into the WLS Admin Console, you need to know the IP address of the VM it's
running on. To find that out, click on the host name shown on the Deployments page.
On the Hosts page, copy the public IP address. Open a new browser tab, paste in
the IP address, add 7001 as support number, and append /console to the URL.
You now see the WLS Admin Console Login page. To log in, you need the username and
password that were specified when the container is started you can find those
in the container's log file. Go back to the Container Console. On the Host page,
click the name of the WLS container to display the Containers page. Click the
View Logs button to see the container's log file. In the log file, you can see
that WebLogic was specified as the user name and an alphanumeric string was
specified as a password. For convenience, copy the password. Go back to the WLS
Admin Console. In the Username field, type weblogic. Paste the alphanumeric
string you copied into the Password field. Click Login to display the
WLS Admin Console from which you can administer the WLS server processes.
Having successfully deployed WLS as a Docker container using Oracle Container
Cloud Service, you can continue to manage and monitor the container's deployment
using the Container Console.