Inspecting Docker Images and Containers

Docker Container Inspect

You can get information about a running container by using the docker inspect command. The inspect command lists the complete information of the container. You must pass the container ID with the docker inspect command.

To get the container ID, run the following command:

docker ps

Use the container ID in the first column of the output to inspect the container details.

docker inspect <Container ID>

You can get the following information about files and folders in the container. All folders are located at /opt/tibco.

Docker Image Inspect

You can run Docker image inspect command to view detailed information about one or more images:

docker image inspect <Docker Image>

Labels and Environment Variables

You can view labels and environment variables configured for Docker image by using the docker inspect command.

For more information about labels and environment variables for the Docker image, see Dockerfiles for ActiveMatrix Service Grid - Container Edition.