Quiz: What is the purpose of a `.dockerignore` file?
A .dockerignore file speeds up build context transfer and prevents sensitive local files from leaking into image layers.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
A .dockerignore file speeds up build context transfer and prevents sensitive local files from leaking into image layers.
Docker Content Trust uses digital signatures to verify that image tags originate from trusted publishers.
Volumes are managed entirely by Docker runtime; Bind Mounts mount arbitrary host file paths into containers.
A Docker Image is a immutable layered snapshot; a Container is an active runtime instance executing that image.
The -d (detached) flag runs compose containers in background execution mode.
Docker enforces container resource constraints using Linux cgroups configured via CLI flags.
docker system prune frees disk space by removing unused container data resources.
… build phase, whereas ENV variables persist in runtime containers.