Intermediate
Docker & Containers
Q48 / 100
What is the effect of running a container with "--rm"?
Correct! Well done.
Incorrect.
The correct answer is A) The container is automatically removed once it exits
A
Correct Answer
The container is automatically removed once it exits
Explanation
"--rm" automatically cleans up the container's filesystem and removes it from "docker ps -a" once it stops, useful for temporary/one-off containers.
Progress
48/100