Q. Which command is used to remove all stopped containers?
β
Correct Answer: (D)
docker rm $(docker ps -a -q)
Explanation: The command 'docker rm $(docker ps -a -q)' removes all stopped containers by listing all container IDs and passing them to 'docker rm'.