Portainer icon

Portainer

Work with Portainer API data to manage Docker

Container → Inspect

AI-generated

Overview

This node operation allows users to inspect detailed information about a specific Docker container managed through Portainer. It retrieves comprehensive metadata and configuration details of the container, which is useful for debugging, monitoring, or managing container states.

Use Case Examples

  1. Inspecting a container to view its configuration and status before performing maintenance.
  2. Retrieving container details to audit resource usage or network settings.

Properties

Name Meaning
Environment ID The ID of the environment/endpoint in Portainer where the container resides.
Container ID The unique identifier of the container to inspect.

Output

JSON

  • body - The JSON response containing detailed information about the inspected container, including its configuration, state, network settings, and other metadata.

Dependencies

  • Requires an API key credential for Portainer to authenticate requests.

Troubleshooting

  • Ensure the Environment ID and Container ID are correct and correspond to existing resources in Portainer.
  • Check network connectivity and API access permissions to the Portainer endpoint.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option in request settings.

Discussion