Listing containers
As we continue to run containers over time, we get a lot of them in our system. To find out what is currently running on our host, we can use the container ls
command, as follows:
$ docker container ls
This will list all currently running containers. Such a list might look similar to this:

Figure 3.7 – List of all running containers on the system
By default, Docker outputs seven columns with the following meanings:
Column |
Description |
|
This is a short version of the unique ID of the container. It is an SHA-256, where Secure Hash Algorithm 256-bit (SHA-256) is a widely used cryptographic hash function that takes an input and generates a fixed-size (256-bit) output, known as a hash. The full ID is 64 characters long. |
|
This is the name... |