Docker & Containerization Mastery
Cards in this deck
(20 cards)Preview terms and definitions before starting your study session.
- Namespaces: Provide process, network, user, and mount point isolation.
- Control Groups (cgroups): Enforce limits and monitor usage of system resources like CPU, memory, and disk I/O.
CMD vs. ENTRYPOINTENTRYPOINT: Defines the core executable that always runs when the container starts.CMD: Provides default arguments toENTRYPOINTor acts as a default command. Can be easily overridden from the command line (e.g.,docker run image <new-cmd>).
COPY vs. ADDCOPY: Copies local files/directories from the host into the container filesystem. Preferred for basic file copying.ADD: InheritsCOPYfunctionality but also automatically extracts compressed archives (.tar.gz) and supports fetching remote URLs.
Dockerfile creates a read-only image layer. Docker caches these layers during builds. If an instruction and its context remain unchanged, Docker reuses the cached layer, significantly speeding up subsequent builds.package.json, requirements.txt) and run installations before copying the application source code.FROM statements in a single Dockerfile. It allows building artifacts in heavyweight temporary stages (with build tools/compilers) and copying only the final binaries/assets into a lean runtime image.- Default Bridge: Containers can only communicate via raw IP addresses unless linked legacy-style.
- User-Defined Bridge: Provides automatic DNS resolution, allowing containers on the same network to communicate using their container names.
Related Flashcard Sets
Explore similar study materials created by the community
JLPT N4 - Grammar Patterns & Kanji
Master essential JLPT N4 grammar patterns and conquer crucial N4 kanji with this high-yield flashcard deck. Elevate your Japanese proficiency for intermediate communication and exam success!
German B1 - Intermediate Grammar & Vocabulary
Master German B1 grammar and expand your vocabulary with this comprehensive flashcard deck. Dive into passive voice, subjunctive II, relative clauses, and essential phrases for expressing opinions and discussing current events.
Kubernetes Fundamentals & Orchestration
Master Kubernetes fundamentals with this high-yield flashcard deck! Dive into Pods, Deployments, Services, Namespaces, and essential `kubectl` commands to orchestrate your containerized applications like a pro.
CFA Level I - Ethical and Professional Standards
Master the CFA Level I Ethical and Professional Standards with this high-yield flashcard deck, covering the Code of Ethics, Standards of Professional Conduct, and real-world violation examples essential for integrity in the investment profession.