Get container runtime details

There are several commands you can run to get details about the container runtime in use and configuration setup that you may want to share with Qualys Support to troubleshoot an issue.

Get nodes

Use the following command to get information about the cluster with details for each node like name, status, roles, age, version, internal and external IP addresses, OS image, kernel version, and container runtime.

kubectl get nodes -o wide

 

Get container runtime info

Use the following command to get information about the container runtime like the status and configuration.

crictl info

 

List containers

Use the following command to list all containers with details, including container ID, image ID, when the container was created (number of minutes, days, weeks or months ago), current state (e.g. Running, Exited), container name, attempt number and POD ID.

crictl ps -a

 

List images

Use the following command to list images with details, including image name, tag, image ID and image size.

crictl images