IBM Containers enable you to deploy, manage, and run application components on the IBM Cloud development platform, making use of the open-source Docker container technology.

As a developer, you can use the IBM Cloud Container Service to run your Java applications using the Development Use Only Liberty image (the same as the one available on Docker Hub) that’s readily available today in the Container Catalog/registry.

And here is how to run your app in a Liberty container on IBM Cloud. You’ve got two options:

Option 1

  1. Pull the Liberty developer image from the IBM Cloud container registry to your host machine.
  2. Use an existing application that’s available locally OR you can download the sample application ( referred in the application deployment sample article and use the Sample1.war available under the dropins folder to build your app+runtime image.

Get started with this video that helps you with a step-by-step guide to download the image from IBM Cloud container registry, top it up with your sample application, push it back to IBM Cloud and get your app up and running.

Option 2

This approach makes use of existing IBM Cloud services to build your webapp and run it in an IBM Cloud container. Take a look at the video that can get you started.

Enjoy! Please leave your comments and questions below. We look forward to hearing from you!

For more information about IBM Containers:

2 comments on"WAS Liberty in IBM Containers"

  1. himanshu vyas October 16, 2016

    Hi Kavitha,
    Your videos are great and too much helpful but I have a concern that if I want to use ibmliberty image already available in bluemix container images then how to do it. how to run my app on that image.please help me by your suggestion.

    • Hi Himanshu,
      You can use the ibmliberty image as the base image and create a new image with your application and push that back to IBM Containers registry and start a new container using that image.

Join The Discussion

Your email address will not be published. Required fields are marked *