FlashKeepers

Cloud Computing · Containers · Professional Certifications

Docker and Container Fundamentals

Container images, Dockerfiles, and orchestration basics for containerized applications.

About this set

39 basic cards for Containers Cloud Computing. It opens with "What is a Docker container?" and "What is a Docker image?". More Professional Certifications decks are listed below.

39 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is a Docker container?
Show answerA lightweight, standalone, executable package that includes everything needed to run an application
What is a Docker image?
Show answerA read-only template used to create containers, consisting of layered filesystems and metadata
What does the RUN instruction do in a Dockerfile?
Show answerExecutes a command during the image build process and records the result in a new layer
What does the COPY instruction do in a Dockerfile?
Show answerCopies files from the host machine into the image during the build process
What does the ADD instruction do in a Dockerfile?
Show answerSimilar to COPY, but also supports URLs and can auto-extract tar archives
What does the FROM instruction do in a Dockerfile?
Show answerSpecifies the base image from which to build a new image
What does the CMD instruction do in a Dockerfile?
Show answerDefines the default command to run when a container starts
What does the ENTRYPOINT instruction do in a Dockerfile?
Show answerConfigures the container to run as an executable with a fixed primary command
What is the difference between CMD and ENTRYPOINT in a Dockerfile?
Show answerCMD specifies default arguments, ENTRYPOINT specifies the main executable
What does the EXPOSE instruction do in a Dockerfile?
Show answerDocuments which ports the container listens on, but does not actually publish them
What does the ENV instruction do in a Dockerfile?
Show answerSets environment variables that persist in the running container
What does the WORKDIR instruction do in a Dockerfile?
Show answerSets the working directory for subsequent RUN, COPY, ADD, ENTRYPOINT, and CMD instructions
What does the VOLUME instruction do in a Dockerfile?
Show answerCreates a mount point for external volumes to be attached to the container
What is a Docker layer?
Show answerAn intermediate image created by each instruction in a Dockerfile; layers are cached for faster rebuilds
What does the docker build command do?
Show answerReads a Dockerfile and builds a Docker image from the instructions

24 more cards in the app

Study this set free