Inspecting container information
A running container exposes a set of configuration data and metadata ready to be consumed. Podman implements the podman inspect
command to print all the container configurations and runtime information. In its simplest form, we can simply pass the container ID or name, like this:
$ podman inspect <Container_ID_or_Name>
This command prints a JSON output with all the container configurations. For the sake of space, we will list some of the most notable fields here:
Path
: The container entry point path. We will dig deeper into entry points later when we analyze Dockerfiles.Args
: The arguments passed to the entry point.State
: The container's current state, including crucial information such as the executed PID, the common PID, the OCI version, and the health check status.Image
: The ID of the image used to run the container.Name
: The container name.MountLabel
: Container mount label for Security-Enhanced...