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.
Image म्हणजे app चा packed डबा. आज layer कसा बनतो, tag आणि digest मधला फरक, Docker Hub, ECR आणि स्वतःचा registry, आणि image लहान कशी करायची हे सगळं बघूया.
Image यानी app का packed डिब्बा. आज layer कैसे बनती है, tag और digest का फ़र्क, Docker Hub, ECR और अपनी registry, और image छोटी कैसे करें, यह सब देखेंगे.
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
- 48.1Images and layers: what is inside an image
- 48.2Image names, tags and digests
- 48.3Push and pull with Docker Hub
- 48.4Push to Amazon ECR
- 48.5Run your own private registry
- 48.6save, load, export and import: move images without a registry
- 48.7Multi-arch images with buildx
- 48.8Make images small and fast
- 48.9Clean up images: dangling, unused and prune
- 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