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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.