Spread the love


Docker-Datacenter (DDC) is targeted for both developers and IT operations team. DDC provides both developers and IT operations a common option for managing containers. Developers create containers using the toolset they’re comfortable with and deliver the resulting containers to the Docker Registry Service. Operations Team then creates rules that describe how resources can be managed to run those containers, so that developers can perform self-service provisioning for their work.

DDC is an end-to-end Docker platform for enterprises. It is built as a tightly integrated enterprise product – the inclusion of Docker Swarm as the default orchestration engine and Universal Control Plane (UCP) – which sits above the Docker Swarm and provides an on-premises container management solution for Docker apps and infrastructure regardless of where your applications are running.

One of the most amazing feature which DDC provides is building Microservices using Docker compose.

If Docker compose is completely new to you, I request you to refer  https://docs.docker.com/compose/overview/ to get started with Docker compose.  In this post, we will look at how DDC provides an easy way to build wordpress applications using Docker compose.

I assume Docker-Datacenter is already up and running. If not, please refer https://collabnix.com/archives/1149 for step by step guide to setup DDC.

Let’s open up the DDC Web UI as shown below:



Click on Applications tab shown in the left. Click on Compose Application tab.


DDC provides a capability to upload docker-compose.yml right from your Desktop. Also, you can manually copy-paste it from your notepad or Linux machine. Click on Create Application and that’s all you need to get your app up and running. Please refer https://github.com/ajeetraina/collabnix-wordpress/blob/master/docker-compose.yml for the complete docker-compose.yml content:


Under Docker compose file, we didn’t specified “network” type and hence it chose the default “collabwebapp_default”. There are various ways to specify the network. In case you created an overlay network for multi-host networking, you can add this application or containers under  the pre-existing network through the following entry in docker-compose.yml:

      name: CollabNet

In case you want to specify the custom network driver, the entry should look like as shown below:

     driver: custom-driver-1
     driver: custom-driver-2
      collabNet1: “1”
      collabNet2: “2”


While your application is being built, you have a close look at the images and containers pulled up and created respectively as shown below:





Let’s check the logs of application creation:




Yippee !! Your first application is up and running using Docker Compose. In the future post, we will look at how can we restrict containers to run on the particular UCP client nodes using the affinity feature of Docker Swarm.


Spread the love

Ajeet Raina

My name is Ajeet Singh Raina and I am an author of this blogging site. I am a Docker Captain, ARM Innovator & Docker Bangalore Community Leader. I bagged 2 special awards last year(2019): Firstly, “The Tip of Captain’s Hat Award” at Dockercon 2019, San Francisco, and secondly, “2019 Docker Community Award“. I run Collabnix Community Slack with over 5300+ audience . I have built popular GITHUB repositories like DockerLabs, KubeLabs, Kubetools, RedisPlanet Terraform etc. with the support of Collabnix Community. Currently working as Developer Relations Manager at Redis Labs where I help customers and community members adopt Redis. With over 12,000+ followers over LinkedIn & close to 5100+ twitter followers, I like sharing Docker and Kubernetes related content . You can follow me on Twitter(@ajeetsraina) & GitHub(@ajeetraina)


Managed Network Services Dallas · 27th June 2016 at 6:09 pm

This is very serious, you’re collaborating on passing the author. In addition, along with your feed and I actually signed up to your personal unbelievable write ups can enjoy. By the way, we’ve shared our social network in the Journal of the net.

Managed Network Services Dallas

simcity buildit hack tool · 11th August 2016 at 8:38 pm

I am frequently to blogging and i really appreciate your content.

The article has really peaks my interest. I ‘m going to bookmark your website and
keep checking for new info.

?MC · 25th September 2016 at 3:23 am

Everything is very open with a clear description of the issues.

It was really informative. Your site is extremely helpful.

Thanks for sharing!

sponduu · 1st October 2016 at 6:03 pm

Wonderful article! We are linking to this particularly great article on our website.
Keep up the good writing.

Homer Verling · 10th October 2016 at 10:02 pm

I couldn’t resist commenting. Very well written!|

Gitaclin · 30th October 2016 at 9:00 am

Goood post annԀ right to the point. I am not sure if this is actuɑlly the best place to ask but do
you folks have any thoughts onn where to get some prօfessiⲟnal writers?
Thx 🙂

MiquelKToman · 24th November 2016 at 7:00 am

great set up, very informative. I wonder why another experts on this sector don’t realize this.

You must continue your writing. I am just sure, you’ve a great readers’ base already!

Benefit Concealer · 29th January 2017 at 12:51 am

Building Microservice applications on Docker-Datacenter (DDC) using Docker Compose – Collabnix,Benefit Concealer http://www.maccosmetics2017.com/benefit-to-go-boiing-eye-bright-strength-concealer-cosmetics-beauty-uk-online-p-1223.html

proudreview.wordpress.com · 15th March 2017 at 3:46 am

“Thanks again for the article.Thanks Again. Cool.”

banana powder ben nye highlighter face loose makeup 42g wholesale · 19th March 2017 at 5:04 am

Building Microservice applications on Docker-Datacenter (DDC) using Docker Compose – Collabnix

RankHigher · 2nd April 2017 at 4:19 am

“Major thanks for the article post.Really looking forward to read more. Will read on…”

yenibosna nakliyat · 8th April 2017 at 5:32 pm

“Superb post but I was wondering if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit more. Thanks!”

halkalД± evden eve nakliyat · 8th April 2017 at 5:43 pm

“Very neat article post.Thanks Again. Great.”

SiteColo · 10th April 2017 at 1:35 pm

“Thank you, I have recently been looking for info about this topic for a long time and yours is the best I’ve came upon till now. But, what in regards to the conclusion? Are you certain concerning the source?”

Leave a Reply

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