Friday, 26 June 2020

DOCKER - HOW TO SEE RUNNING DOCKER CONTAINERS

HOW TO SEE RUNNING DOCKER CONTAINERS

 

 In order to list all the docker containers, run the command - docker ps


 

Now if we want to see the previous containers which may be stopped or exited, you need

to run the below command:- docker ps -a.  Hence we see that we ran a previous container 

by the name - whalesay.


No comments:

Post a Comment