13 Dockerizing microservice APIs

This chapter covers

  • How to Dockerize an application
  • How to run Docker containers
  • How to run an application with Docker Compose
  • Publishing a Docker image to AWS Elastic Container Registry

Docker is a virtualization technology that allows us to run our applications anywhere by simply having a Docker execution runtime. Docker takes away the pain and effort required to tune and configure an environment to run code. It also makes deployments more predictable since it produces replicable artifacts (container images) that we can run locally as well as in the cloud.

In this chapter, you’ll learn to Dockerize a Python application. Dockerizing is the process of packaging an application as a Docker image. You can think ...

Get Microservice APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.