Chapter 14: Docker and the Cloud

Questions:

  1. Why is Docker often used to deploy Vapor apps?
  2. What is the difference between Docker images and Docker containers?
  3. How is Kubernetes involved in deployments?

Answers:

  1. Because it provides a straightforward way of setting up an operating system for Vapor.
  2. Docker images contain compiled images. Docker containers run images that are in use.
  3. Kubernetes provides tools and infrastructure to deploy Docker containers and manage them.

Get Hands-On Swift 5 Microservices Development 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.