Running a Multi-Container Application Using Docker Compose

DZone 's Guide to

Running a Multi-Container Application Using Docker Compose

These videos give an introduction running an example application using Docker Compose.

· Integration Zone ·
Free Resource

Running an application typically involves multiple processes whether that’s just an application server and database or multiple service implementations in a microservice architecture. Docker Compose provides a quick and easy mechanism to build, deploy, and run your application, whether locally on your system for development purposes or on a platform such as Docker Datacenter for production.

For the purposes of this example we have taken Docker’s example voting application and modified it so that the voting and results web applications are Java applications running on WebSphere Liberty. You can clone the updated application from GitHub and, assuming that you have Docker and Docker Compose installed, run it using the following simple commands:

git clone https://github.com/kavisuresh/example-voting-app.git
cd example-voting-app
docker-compose up

The following video gives an introduction to the example voting application and how it can be run using Docker Compose:

The following video talks about Docker Datacenter configuration and how the application can be run in Docker Datacenter using Docker Compose:

datacenter, docker, docker compose, service, video, web

Published at DZone with permission of Kavi Suresh , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}