3 Publishing your first microservice

This chapter covers

  • Differences between images and containers
  • Using Docker in the development environment
  • Packaging and publishing your microservice as a Docker image
  • Creating a private container registry
  • Instantiating your microservice in a container

By the end of this book, we’ll have deployed multiple microservices to our production environment: a Kubernetes cluster. But before we can deploy an entire microservices application, we must first be able to package and publish a single microservice! In this chapter, we’ll take the video-streaming microservice we created in chapter 2 and publish it so that it’s ready for deployment to our cluster.

To deploy a microservice to a cluster running in the cloud, ...

Get Bootstrapping Microservices, Second Edition 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.