Ravi Sir's Cards › DevOps
Chapter 52: Dockerfile Instructions Explained: FROM, RUN, CMD vs ENTRYPOINT, COPY vs ADD, Multi-Stage and BuildKit: Cards
मराठी cards · Open the chapter
Revision cards
Revision card 1 of 10: FROM and ARG · Download PNG · Open card page
Lesson: 52.1 FROM and ARG: choose the base image
Revision card 2 of 10: RUN · Download PNG · Open card page
Lesson: 52.2 RUN: shell form, exec form, layers and cache cleanup
Revision card 3 of 10: CMD vs ENTRYPOINT · Download PNG · Open card page
Lesson: 52.3 CMD vs ENTRYPOINT
Revision card 4 of 10: COPY vs ADD · Download PNG · Open card page
Lesson: 52.4 COPY vs ADD
Revision card 5 of 10: ENV vs ARG · Download PNG · Open card page
Lesson: 52.5 ENV vs ARG
Revision card 6 of 10: WORKDIR, EXPOSE and USER · Download PNG · Open card page
Lesson: 52.6 WORKDIR, EXPOSE and USER
Revision card 7 of 10: HEALTHCHECK, VOLUME, LABEL and more · Download PNG · Open card page
Lesson: 52.7 HEALTHCHECK, VOLUME, LABEL, STOPSIGNAL, ONBUILD and SHELL
Revision card 8 of 10: Build cache and .dockerignore · Download PNG · Open card page
Lesson: 52.8 Build cache and .dockerignore
Revision card 9 of 10: Multi-stage builds and build secrets · Download PNG · Open card page
Lesson: 52.9 Multi-stage builds and BuildKit secrets
Revision card 10 of 10: docker build and buildx options · Download PNG · Open card page
Lesson: 52.10 docker build and buildx commands: full reference
Interview cards
Interview card 1 of 10: Can ARG be used before FROM? · Download PNG · Open card page
Lesson: 52.1 FROM and ARG: choose the base image
Interview card 2 of 10: Why combine apt-get update and install? · Download PNG · Open card page
Lesson: 52.2 RUN: shell form, exec form, layers and cache cleanup
Interview card 3 of 10: CMD vs ENTRYPOINT? · Download PNG · Open card page
Lesson: 52.3 CMD vs ENTRYPOINT
Interview card 4 of 10: COPY vs ADD? · Download PNG · Open card page
Lesson: 52.4 COPY vs ADD
Interview card 5 of 10: Why not pass secrets with ARG or ENV? · Download PNG · Open card page
Lesson: 52.5 ENV vs ARG
Interview card 6 of 10: Why set USER in a Dockerfile? · Download PNG · Open card page
Lesson: 52.6 WORKDIR, EXPOSE and USER
Interview card 7 of 10: How does HEALTHCHECK work? · Download PNG · Open card page
Lesson: 52.7 HEALTHCHECK, VOLUME, LABEL, STOPSIGNAL, ONBUILD and SHELL
Interview card 8 of 10: How do you speed up Docker builds? · Download PNG · Open card page
Lesson: 52.8 Build cache and .dockerignore
Interview card 9 of 10: How do you use a private token during build safely? · Download PNG · Open card page
Lesson: 52.9 Multi-stage builds and BuildKit secrets
Interview card 10 of 10: What is the build context? · Download PNG · Open card page
Lesson: 52.10 docker build and buildx commands: full reference
Comparison cards
Comparison card 1 of 3: CMD vs ENTRYPOINT · Download PNG · Open card page
Lesson: 52.3 CMD vs ENTRYPOINT
Comparison card 2 of 3: COPY vs ADD · Download PNG · Open card page
Lesson: 52.4 COPY vs ADD
Comparison card 3 of 3: ENV vs ARG · Download PNG · Open card page
Lesson: 52.5 ENV vs ARG