Practice questions on Docker fundamentals, container lifecycle, images, Dockerfiles, networking, and Docker Compose for beginners and intermediate learners.
Which command builds a Docker image from a Dockerfile in the current directory?
Docker containers share the host OS kernel, unlike virtual machines which run a full OS.
What Dockerfile instruction sets the working directory inside the image?
A Docker volume persists data even after the container is deleted.
Which Dockerfile instruction is the entry point command that runs when the container starts?