Running WebLogic 12.2.1 on Docker

It's a sign of the times when Oracle mention that the latest version (12.2.1) of their Oracle WebLogic Java EE Application Server was released last week on Docker shortly before it was released as a plain old executable installer.

Image source is

But before you get too excited, let me just say one thing. If you were hoping to run something like this:

docker run -d oracle/weblogic:12.2.1

...and then, voilà! might be a tad bit underwhelmed.

Now don't get me wrong, you can run WebLogic 12.2.1 on Docker containers and it works well, some might say very well. All of the WebLogic Server features are available in the container AND... you've got the added portability and flexibility that Docker brings. There is however, dare I say, more hoops to jump through in the initial setup then you've come to expect from the Docker experience. Let me explain.

As anyone who is familiar with Docker knows, running a container is as simple as "docker run ". Basically, this one command will search locally for the docker machine image and if not found, it will securely pull it down from the internet. Then, it will start it up in seconds (or less), ready for accepting requests. Simple right?!

The user experience built by Docker around the existing Linux container technology is basically one of the many reasons Docker containers are becoming increasingly popular. But more so, if DevOps and Continuous Delivery is about eliminating wasteful activities in order to innovate faster, Docker-based containers is a good example of this. When it comes to Docker, the value-added time seems to pretty close to the elapsed-time.

As I mentioned earlier, Docker will run any container for you with a single command. Or, if you're the rock-dwelling type that doesn't believe me, go try it for yourself. Execute "docker run tomcat:8.0" and then in seconds after the initial download, the Tomcat web server will be running and accessible from a browser. Pretty cool huh?

With Oracle WebLogic Server on Docker theres a bit more of 'dem hoops I spoke about earlier.


  1. Sign up for an Oracle account at their website (if you don't already have one)
  2. Download the JDK and Oracle WebLogic Server installers from their website. You'll need to be logged in with your Oracle account.
  3. Install Git then git clone from As per Bruno's comment, the Docker repository URL was changed and if you are really against Git for some reason you can download the whole source as a zip file instead from

  4. Now, place the previously downloaded binaries in the following locations:
    • OracleWebLogic/dockerfiles/12.2.1/fmw_12. (you'll have to extract this from zip file first)
    • OracleWebLogic/dockerfiles/12.2.1/jdk-8u60-linux-x64.rpm (If you're in any way inclined, like me and want to use the latest JDK, you'll need to hack some of the files to point to this different file and even change the MD5sum as it validates against that.)
  5. Build the Docker image from scratch. The script does a "docker build" under the covers but also does some validation of the installation binaries against the md5sum records.
    • sudo sh -v 12.2.1 -d
    • Note: Checksums for container images are already built into Docker but that's not quite the "Oracle way" because they require you to download install files and build your own images.
  6. Now it's time to create a second image for our running instance based on the previous WebLogic 12.2.1 binary Docker image that we built. Simply navigate to OracleWebLogic/samples/1221-domain directory and rename Dockerfile.empty or Dockerfile.supplementaldomain to Dockerfile. The reason Oracle wants you to rename it is because they are simply providing a template. While it does actually work out of the box, I would suspect they are making the assumption that you may want to customise your platform; like adding a data source or some JMS messaging configuration etc.
  7. Run the following from the sample directory as in the previous step to build our WebLogic Server instance Docker image. This will perform all the automated steps defined in the Dockerfile.
    • sudo docker build -t oracle/weblogic:12.2.1 .
  8. Almost there... Now it's time to boot up the container.
    • sudo docker run -d --name=wlsadmin oracle/weblogic:12.2.1
  9. Give it some seconds (or minutes) and then there you have it. Oracle WebLogic Server 12.2.1 running in a container with the Admin Console ready to use.
    • To get the container IP address run "docker inspect wlsadmin | grep IPA". You can use this to then access the WebLogic console on http://<container IP>:7001/console
    • If you're wondering about WebLogic Managed Servers and how to add them, there are some details at but I will also be creating another blog on that soon. At least, that is what I hope.


p>So what's the lesson in all of this? Is it that the WebLogic and Docker relationship is a match made in heaven? Not quite. But, it's a step in the right direction. I'm sure many new Docker users will come out of the Oracle woodworks just because of Oracle's decision to start "certifying" some of their products on Docker.

Oracle WebLogic on Docker is great. But before you can get running there is 9 coarse grained steps and probably 3 times that when you factor in the fine grained steps (basically, 27 steps). Why did Oracle do this, when it could have been one step? Well I don't know for sure... but my jocular take is that they're implicitly inspiring a new powerful metric to DevOps and of course, pioneers aren't going to like it... This new metric will help us to factor in the unfortunate time that will be lost signing End User Licence Agreements (EULA). Or, as I like to call it:

Legally-binding Added Time Extensions or L.A.T.E. as it so makes you.

As we brace for the new wave of enterprise container users. Perhaps we need to think about what a new enterprise DevOps pipeline might look like. Maybe:

  1. Sign the EULA (manually)
  2. Login securely and download the software. (manually)
  3. Mess around with Git to build your vendor-endorsed application server container image from scratch. (manually)
  4. Profit!

All jokes aside, I predict with the recent announcement of containers coming to Oracle Cloud - You can bet there will be a publicly available Docker registry for Oracle software coming soon which would turn 27 steps to essentially one. But don't expect it to be the public Docker Hub registry. You know how it is...

Happy Dockering! And please leave any comments if you need assistance troubleshooting Docker running on WebLogic 12.2.1.

Coming soon is a post on MyST and it's tight integration with Docker for development/test and troubleshooting production safely in isolation. Look forward to sharing with you.

Rubicon Red Forms Strategic Partnership with AMIS

BRISBANE, Queensland (October 05, 2015)—Rubicon Red, an Oracle Platinum partner, announced today it has formed a strategic partnership with AMIS, an Oracle Platinum Partner based in Netherlands focused on Oracle Fusion Middleware. The partnership will widen availability of Rubicon Red’s MyST, the industry-leading DevOps tool for Oracle Fusion Middleware, in Europe.

“Clients repeatedly tell us the most important element of the AMIS value proposition is that our deep technological insight in Oracle technology significantly lowers project risk and complexity based on our wealth of experience with Oracle FMW,” , Robbrecht van Amerongen ,Manager Continuous Delivery and Security practice at AMIS, said. “With the addition of MyST to our delivery capabilities, we can further reduce project risk and accelerate the overall project lifecycle. This allows our clients to capitalize on their investment in Oracle FMW faster and decrease the project risk more than previously expected.”

Manually provisioning Oracle Middleware environments, plus deployment of code is resource intensive and error-prone. Deployment errors result in many wasted months of effort, causing project delays, plus significantly increases the risk of major production issues, with associated financial and brand damage.
MyST delivers automated platform provisioning and continuous delivery for Oracle Middleware, on-premise and on-cloud. Enabling users to deliver a consistent and reliable platform in minutes, NOT weeks or months. MyST is unique, being the only solution to combine concepts of “computer aided design” and “programmable Infrastructure” to automate the end-to-end process of designing and provisioning Oracle Middleware. With MyST, users model the required middleware infrastructure; which at the push of a button is provisioned by MyST. All with Zero Scripting! As a result of the partnership, AMIS clients will now have access to MyST as well as the resources to assist with usage and knowledge transfer to the client team. With an average one-year ROI between 100 – 300 percent, AMIS clients can expect to see an immediate return on investment resulting from significantly reduced project complexity and risk. In addition, AMIS clients can benefit from faster and more frequent provisioning capabilities.

“DevOps and Cloud are gaining mainstream adoption as the preferred delivery and operating models for modern applications,” Matt Wright, Chief Technology Officer, Rubicon Red, said. “The partnership with AMIS, an internationally recognized thought leader in the delivery of Oracle Middleware solutions in Europe, will allow organizations to utilize MyST to be more responsive in delivering new Oracle Middleware solutions faster, cheaper and more frequently.”

About Rubicon Red Rubicon Red offers organizations a set of innovative and market leading cloud and consulting solutions for Oracle Fusion Middleware customers. An Oracle Platinum Partner and recognized global leader in Oracle Fusion Middleware, Rubicon Red delivers thought leadership, innovation and unrivaled expertise. Founded in 2009 by two former senior executives from Oracle product management, Rubicon Red is an Oracle Certified SOA and BPM Specialist, and has been awarded the Oracle Fusion Middleware Top Technical Champion APAC on multiple occasions.
About AMIS AMIS helps organizations make optimal use of their investments in Oracle technology. AMIS is internationally recognized for its deep technological insight in Oracle technology. This knowledge is reflected in the presentations AMIS delivers at international conferences such as Oracle OpenWorld, JavaOne, DEVOXX and many other user conferences around the world and its well-read technology blog: AMIS is an Oracle Platinum Partner and was awarded the Middleware Partner of the Year Award in 2011, 2013, 2014 and 2015.
AMIS delivers advanced consulting in SOA, ADF, OSB and BPM and has a vast team of experts in this technology. The services of AMIS include architecture, infrastructure provisioning, application development, software build automation and deployment automation.

More information: