Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam 701-100 Topic 8 Question 3 Discussion

Actual exam question for Lpi's 701-100 exam
Question #: 3
Topic #: 8
Which of the following tasks are completed by docker-compose down when it is used with additional parameters? (Choose two correct answers.)

Suggested Answer: A,B Vote an answer

The docker-compose down command is used to stop and remove containers, networks, volumes, and images created by docker-compose up. By default, it only removes the containers and networks, but with additional parameters, it can also remove volumes.
* A. Delete all volumes defined in the compose file: Using the --volumes flag with docker-compose down will remove the volumes declared in the volumes section of the compose file.
* B. Delete all containers defined in the compose file: By default, docker-compose down removes the containers defined in the compose file.
The other options are incorrect:
* C: Networks are deleted by default without additional parameters.
* D: Images are not removed by default; docker-compose down does not remove images from Docker nodes.
* E: Images built from the compose file are not deleted from their registry; docker-compose down does not handle registry interactions.
References:
* Docker Compose Documentation - down

by Griffith at Dec 20, 2024, 04:35 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.