Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 48: Docker Images: Layers, Tags, Registries, Docker Hub, ECR, Multi-Arch and Every Image Command: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Images आणि layers. मोठ्या images push, pull ला हळू.
उजळणी (Revision) card 1 of 10: Images आणि layers · PNG download करा · Card page उघडा

Lesson: 48.1 Images and layers: what is inside an image

Image नावं, tags आणि digests. Tag उद्या नवीन image कडे point करू शकतो.
उजळणी (Revision) card 2 of 10: Image नावं, tags आणि digests · PNG download करा · Card page उघडा

Lesson: 48.2 Image names, tags and digests

Docker Hub वर push आणि pull. दुसऱ्या machines ना तुमची image हवी.
उजळणी (Revision) card 3 of 10: Docker Hub वर push आणि pull · PNG download करा · Card page उघडा

Lesson: 48.3 Push and pull with Docker Hub

Amazon ECR वर push. AWS services ECR मधून सर्वात जलद आणि सुरक्षित pull करतात.
उजळणी (Revision) card 4 of 10: Amazon ECR वर push · PNG download करा · Card page उघडा

Lesson: 48.4 Push to Amazon ECR

स्वतःचा private registry चालवा. काही networks internet ला पोहोचू शकत नाहीत.
उजळणी (Revision) card 5 of 10: स्वतःचा private registry चालवा · PNG download करा · Card page उघडा

Lesson: 48.5 Run your own private registry

save, load, export आणि import. कधी कधी image disk वरून न्यावी लागते.
उजळणी (Revision) card 6 of 10: save, load, export आणि import · PNG download करा · Card page उघडा

Lesson: 48.6 save, load, export and import: move images without a registry

buildx सोबत multi-arch images. एक tag Intel आणि ARM दोन्हीवर चालायला हवा.
उजळणी (Revision) card 7 of 10: buildx सोबत multi-arch images · PNG download करा · Card page उघडा

Lesson: 48.7 Multi-arch images with buildx

Images लहान आणि जलद करा. लहान images जलद deploy होतात आणि CVEs कमी.
उजळणी (Revision) card 8 of 10: Images लहान आणि जलद करा · PNG download करा · Card page उघडा

Lesson: 48.8 Make images small and fast

Images साफ करा. Build agents ची disk जुन्या images ने भरते.
उजळणी (Revision) card 9 of 10: Images साफ करा · PNG download करा · Card page उघडा

Lesson: 48.9 Clean up images: dangling, unused and prune

प्रत्येक docker image command. Outage मध्ये docs शोधण्यापेक्षा एक table बरी.
उजळणी (Revision) card 10 of 10: प्रत्येक docker image command · PNG download करा · Card page उघडा

Lesson: 48.10 Every docker image command: full reference

मुलाखत (Interview) cards

Image layer म्हणजे काय? एका build step मधला read-only filesystem diff, hash ने ओळखला जातो आणि images मध्ये share होतो; container वर एक writable layer जोडतो.
मुलाखत (Interview) card 1 of 10: Image layer म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 48.1 Images and layers: what is inside an image

Tag vs digest? Tag बदलू शकतो (nginx:latest बदलेल); digest (@sha256:...) कधीच बदलत नाही आणि नेमका content ओळखतो.
मुलाखत (Interview) card 2 of 10: Tag vs digest? · PNG download करा · Card page उघडा

Lesson: 48.2 Image names, tags and digests

Docker Hub वर image कशी push करता? docker login (token --password-stdin ने), docker tag app user/app:1.0, docker push user/app:1.0.
मुलाखत (Interview) card 3 of 10: Docker Hub वर image कशी push करता? · PNG download करा · Card page उघडा

Lesson: 48.3 Push and pull with Docker Hub

ECR ला login कसं करता? aws ecr get-login-password --region R | docker login --username AWS --password-stdin ACCOUNT.dkr.ecr.R.amazonaws.com. Token 12 तास चालतो.
मुलाखत (Interview) card 4 of 10: ECR ला login कसं करता? · PNG download करा · Card page उघडा

Lesson: 48.4 Push to Amazon ECR

Private registry कसा चालवता? docker run -d -p 5000:5000 -v reg:/var/lib/registry registry:2; localhost पलीकडे TLS आणि auth जोडा.
मुलाखत (Interview) card 5 of 10: Private registry कसा चालवता? · PNG download करा · Card page उघडा

Lesson: 48.5 Run your own private registry

save vs export? docker save सगळ्या layers, tags सह image लिहितो; docker export एका container चा flat filesystem, history किंवा CMD शिवाय.
मुलाखत (Interview) card 6 of 10: save vs export? · PNG download करा · Card page उघडा

Lesson: 48.6 save, load, export and import: move images without a registry

Multi-arch image कशी build? docker buildx build --platform linux/amd64,linux/arm64 -t repo/app:1 --push .; registry प्रत्येक machine ला योग्य देते.
मुलाखत (Interview) card 7 of 10: Multi-arch image कशी build? · PNG download करा · Card page उघडा

Lesson: 48.7 Multi-arch images with buildx

Image size कसा कमी करता? Slim/distroless base, multi-stage, त्याच RUN मध्ये cleanup, चांगला .dockerignore, फक्त production dependencies.
मुलाखत (Interview) card 8 of 10: Image size कसा कमी करता? · PNG download करा · Card page उघडा

Lesson: 48.8 Make images small and fast

Dangling vs unused image? Dangling: tag नाही (), rebuilds मुळे राहते. Unused: tag आहे पण container नाही. prune dangling काढतो; prune -a दोन्ही.
मुलाखत (Interview) card 9 of 10: Dangling vs unused image? · PNG download करा · Card page उघडा

Lesson: 48.9 Clean up images: dangling, unused and prune

docker image subcommands सांगा. build, history, import, inspect, load, ls, prune, pull, push, rm, save, tag.
मुलाखत (Interview) card 10 of 10: docker image subcommands सांगा. · PNG download करा · Card page उघडा

Lesson: 48.10 Every docker image command: full reference

तुलना (Comparison) cards

Tag vs Digest. Tag: 1.27 सारखं हलणारं नाव.Digest: content चा sha256.
तुलना (Comparison) card 1 of 3: Tag vs Digest · PNG download करा · Card page उघडा

Lesson: 48.2 Image names, tags and digests

docker save vs docker export. save: layers, tags सह image tar मध्ये.export: container filesystem flat tar मध्ये.
तुलना (Comparison) card 2 of 3: docker save vs docker export · PNG download करा · Card page उघडा

Lesson: 48.6 save, load, export and import: move images without a registry

Docker Hub vs Amazon ECR. Docker Hub: Docker चा public आणि private registry.ECR: AWS चा private registry.
तुलना (Comparison) card 3 of 3: Docker Hub vs Amazon ECR · PNG download करा · Card page उघडा

Lesson: 48.4 Push to Amazon ECR