Command

Docker Inspect a Container Command

The Docker command to inspect a container is docker inspect CONTAINER.

Quick Answer

Command
docker inspect CONTAINER
DockerCommand

Inspect a Container

Type this command
docker inspect CONTAINER

Prints the full configuration of a container as JSON.

Learn More

How to inspect a container in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker inspect CONTAINER, replace any placeholders, and run it.

Docker Inspect a Container Command

Run docker inspect CONTAINER.

Related Commands

Frequently asked questions

What is the Docker command to inspect a container?

Run docker inspect CONTAINER.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify