PRACTICE / UNDERSTAND / REPEAT

Docker practice question

Practice images & containers with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Images & containers · MCQQuestion link ↗

Which command lists running containers?

Choose one answer
Answer & explanation

Answer: docker ps

`docker ps` lists running containers. Add `-a` to include stopped containers.