A

Admin • 802.91K Points
Coach

Q. Which of the following is a valid Docker command to list all stopped containers?

  • (A) docker ps -a
  • (B) docker containers --stopped
  • (C) docker ps --stopped
  • (D) docker list stopped
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Docker
  • Hashtags:

Explanation by: Admin
'docker ps -a' lists all containers, including stopped ones.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.