Display the Log Files
Learn how to access and display the log files.
We'll cover the following...
We'll cover the following...
Get the name of the container where the tests were executed
Use the command docker ps -a:
The output shows that the container exited after the tests finished.
| Container Id | Image | Status | Names |
|---|---|---|---|
| 03efc6403f78 | tests | Exited | loving_payne |
Docker assigns randomly generated
Container-IdandNameto each container. Every time you run a container, the container will randomly generate an id and name for it.
It is also possible to define the container name ...