PRACTICE / UNDERSTAND / REPEAT

Docker: Images & containers

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

16 questionsAnswers explainedFree · no login
Question 1 of 16
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.