Ravindra BagaleCourses & study guides मराठी

Chapter 48: Docker Images: Layers, Tags, Registries, Docker Hub, ECR, Multi-Arch and Every Image Command

An image is the packed box of your app. Today we see how layers are made, the difference between a tag and a digest, Docker Hub, ECR and your own registry, and how to make an image small.

What you will learn in this chapter

  • Layers and overlay2
  • Names, tags and digests
  • Docker Hub, Amazon ECR and a private registry
  • save/load vs export/import
  • Multi-arch images with buildx
  • Shrinking and cleaning images
  • Every docker image command

All Docker commands in one place

Every docker command step by step on one running example (build, run, exec, logs, volumes, networks, Compose, cleanup) with a cheat sheet: All Docker Commands Step by Step with Examples

Concepts in this chapter

  1. 48.1Images and layers: what is inside an image
  2. 48.2Image names, tags and digests
  3. 48.3Push and pull with Docker Hub
  4. 48.4Push to Amazon ECR
  5. 48.5Run your own private registry
  6. 48.6save, load, export and import: move images without a registry
  7. 48.7Multi-arch images with buildx
  8. 48.8Make images small and fast
  9. 48.9Clean up images: dangling, unused and prune
  10. 48.10Every docker image command: full reference

The chapter recap is at the end of the last concept page.

Ravi Sir's Cards: 23 revision, interview and comparison cards for this chapter · मराठी cards