Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

The new Gartner Critical Capabilities report explains how APIs and microservices enable digital leaders to deliver better B2B, open banking and mobile projects.

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:


The new Gartner Critical Capabilities for Full Lifecycle API Management report shows how CA Technologies helps digital leaders with their B2B, open banking, and mobile initiatives. Get your copy from CA Technologies.

Topics:
docker compose ,video ,docker ,web ,service ,datacenter

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}