A
Q. What is the purpose of the WORKDIR instruction in a Dockerfile?
The WORKDIR instruction sets the working directory for subsequent instructions in the Dockerfile.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which Docker command is used to rename a container?
Q. Which command removes stopped containers, networks, and volumes created by Docker Compose?
Q. Which of the following commands will remove a Docker image?
Q. Which command is used to list all Docker images on the local machine?
Q. What does the 'docker-compose up' command do?
Q. Which of the following is a valid Docker network type?
Q. Which Docker command is used to remove all stopped containers?
Q. Which command is used to build a Docker image from a Dockerfile?
Q. Which of the following Docker commands is used to remove a specific image?
Discusssion
Login to discuss.