Over a million developers have joined DZone.

An Introduction To The New IBM Containers Service

The IBM Container service in Bluemix has moved out of beta, and you can deploy applications as a Docker container to Bluemix.

· Cloud Zone

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

If you logged into Bluemix late last week you might have noticed some changes.  Probably the biggest change you might have noticed is that the IBM Containers service has moved out of beta and is now generally available.  If you are not familiar with the IBM Container service in Bluemix let me spend a minute describing what it does.  The Containers service gives you the option of deploying your application as a Docker container to Bluemix.  If you are not familiar with Docker you can read more about it on the Docker website.  Docker has become increasingly popular as a way of distributing and running applications because of the portability it provides.  It is similar to VMs but much more light weight and flexible, making it easy to package your application in a Docker container and have it run exactly the same in any environment.



So why choose to run your application as a Docker container vs a Cloud Foundry application in Bluemix?  Good question :)  Probably the #1 reason you might choose Docker over Cloud Foundry is that it allows you to take an existing application and run it in the cloud without any changes to the application code itself.  For example with a Cloud Foundry application you may have to change the code to access some type of cloud service.  With Docker it would be possible to package up the entire application you have today (including the services it uses) and deploy it to the containers service unchanged.  Now I don’t recommend this approach, you typically want to break out the application and services to separate containers, but it is doable.  Another reason may be that you want to run the application in multiple clouds and Docker can be the common denominator.  As long as you have a Docker host, your application can run on premise, in Bluemix, or in another vendor’s cloud without worrying about having to make changes for each environment.

With that said I have put together a video demonstrating the basic functionality of the IBM Containers service in Bluemix.  This should be enough to get you familiar with the service and get you on your way to deploying your own Docker containers to Bluemix.

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.

Docker,bluemix,containers,Cloud Foundry,deployment,cloud

Published at DZone with permission of Ryan Baxter, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}