S
Q. What is the purpose of the LABEL instruction in a Dockerfile?
The LABEL instruction adds metadata (key-value pairs) to the Docker image.
You must be Logged in to update hint/solution
Q. Which of the following Docker commands is used to view resource usage statistics for a container?
Q. Which command is used to view the Docker container's restart policy?
Q. What is Docker Compose used for?
Q. How do you define the network settings for a service in Docker Compose?
Q. Which Docker command is used to list all images on the local system?
Q. Which command stops and removes all containers defined in a Docker Compose file?
Q. Which of the following is used to store Docker container data that persists between restarts?
Q. What is the purpose of the Docker 'volume' feature?
Q. Which command removes a Docker volume?
Q. Which Docker command is used to build a Docker image from a Dockerfile?
Discusssion
Login to discuss.