In this article we will go through some of the basic commands used in dockers. So lets get started. 1) docker ps This command is used to list all the running containers ie: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4ba5baace270 couchbase "/entrypoint.sh couc…" 8 seconds ago Up 5 seconds 8091-8096/tcp, 11207/tcp, 11210-11211/tcp, 18091-18096/tcp naughty_hopper 6c1773f25479 nginx "nginx -g 'daemon of…" 5 minutes ago Up 5 minutes 80/tcp compassionate_dijkstra 2) docker ps -a This command list all the container into the docker, whether its in running, stopped or exited. $ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS