Forrest logo
back to the docker tool

docker:tldr:4f97e

docker: Display detailed information on one or more containers.
$ docker container inspect ${container_name}
try on your machine

The docker container inspect command is used to display detailed information about a specific Docker container.

The ${container_name} is a placeholder that should be replaced with the actual name or ID of the container you want to inspect.

When you execute the command, Docker will provide a JSON formatted output containing information such as the container's ID, name, state, IP address, port mappings, networking details, and various configuration settings. This command is useful for checking the status and configuration of a specific container.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the docker tool