Hands-On Kubernetes on Windows
上QQ阅读APP看书,第一时间看更新

Working with Container Images

Container-based software development lifecycle requires easy image packaging and reliable ways to distribute containerized applications - these are key aspects that the Docker ecosystem has solved. We used Dockerfiles and Docker images in the previous chapters. Simply put, a Dockerfile defines build instructions for creating a Docker image, an immutable, layered snapshot of container data that can be used for instantiating containers. These two concepts allow us to create easy and standardized packaging for container applications. In order to provide reliable and scalable distribution for Docker images, we can use image registries.

In this chapter, we will focus on the usage of Docker registries, mainly the publicly accessible Docker Hub and private Azure Container Registry, and we will also introduce Docker Content Trust – a concept for publishing and managing signed collections of content. With this introduction to container image management, you will be ready to fully enter the world of Kubernetes on Windows!

This chapter will cover the following topics:

  • Storing and sharing container images
  • Using cloud container builders
  • Image tagging and versioning
  • Ensuring the integrity of the image supply chain