Quiz: What is the function of the `ARG` instruction in a Dockerfile?
ARG variables exist only during image build phase, whereas ENV variables persist in runtime containers.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
ARG variables exist only during image build phase, whereas ENV variables persist in runtime containers.
Buildx leverages BuildKit to build multi-arch container images concurrently.
ENTRYPOINT specifies the container executable, while CMD provides default arguments that can easily be overridden.
The host network driver removes network isolation between container and host OS, sharing host network interfaces directly.
The -d (detached) flag runs compose containers in background execution mode.
Copy-on-Write minimizes storage overhead by sharing underlying image layer files until modified in the top container layer.
The HEALTHCHECK instruction specifies a command to regularly test whether the containerized app is functioning correctly.
EXPOSE documents intended container ports; -p (port publishing) maps actual host network sockets to container ports.