Skip to Content
Hands-On Reactive Programming with Python
book

Hands-On Reactive Programming with Python

by Romain Picard
October 2018
Intermediate to advanced
420 pages
10h 26m
English
Packt Publishing
Content preview from Hands-On Reactive Programming with Python

Packaging a service with Docker Compose

Chapter 7Using Third-Party Services, introduced Docker, an isolation framework based on containers. In that chapter, a single container was started directly with the Docker command line. This method is fine for starting a single container, but has several drawbacks:

  • All parameters must be provided in the command line, which can be quite long
  • If several containers must be started, then multiple commands must be used

One solution to these issues is to use shell scripts that contain all these commands with their parameters. The Docker framework provides a tool dedicated to this task, more generic than custom scripts: Docker Compose.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python Programming with Design Patterns

Python Programming with Design Patterns

James W. Cooper

Publisher Resources

ISBN: 9781789138726Supplemental Content