R

Ram Sharma • 193.88K Points
Coach

Q. How do you list all Docker containers, including stopped ones?

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

Explanation by: Ram Sharma
The 'docker ps -a' command lists all containers, including those that are stopped.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics