Troubleshooting running containers
Troubleshooting containers is an important practice that we need experience with to solve common issues and investigate any bugs we may encounter on the container layer or in the application running inside our containers.
Starting from Chapter 3, Running the First Container, we started working with basic Podman commands for running and then inspecting containers on our host system. We saw how we can collect logs with the podman logs
command, and we also learned how to use the information provided by the podman inspect
command. Finally, we should also consider taking a look at the output of the useful podman system df
command, which will report storage usage for our containers and images, and also the useful podman system info
command, which will show useful information on the host where we are running Podman.
In general, we should always consider that the running container is just a process on the host system so we always have available all...