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, C
Get Premium 701-100 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
15 comments · newest first
DE
Delisa
3 months ago
Exactly! Docker-compose down is about stopping and removing.
IS
Isreal
3 months ago
Right, it's more about containers and networks.
NI
Nieves
3 months ago
True, but A isn't always included with down.
DE
Delisa
3 months ago
I agree, but I also think A could be a choice. Volumes need cleanup too.
IS
Isreal
3 months ago
Yeah, B makes sense. It removes the containers.
NI
Nieves
3 months ago
I think B and C are the right answers.
MI
Mila
4 months ago
A is not right, just containers and networks.
MI
Miesha
4 months ago
Wait, it doesn't delete images? That's surprising!
MA
Major
4 months ago
Definitely B and C, no doubt!
SL
Slyvia
5 months ago
I thought it also deleted volumes?
TA
Talia
6 months ago
B and C are correct!
HO
Howard
6 months ago
I feel like deleting images isn't part of what docker-compose down does, but I could be wrong about that.
PU
Pura
7 months ago
I practiced a question like this before, and I think it was B and C that were correct.
IS
Isaac
7 months ago
I remember something about networks being removed too, but I can't recall if it was part of the default behavior or needed a flag.
RE
Reid
7 months ago
I think docker-compose down definitely deletes the containers, but I'm not sure about the volumes.