Portainer icon

Portainer

Work with Portainer API data to manage Docker

Config → Inspect

AI-generated

Overview

This node operation allows users to inspect details of a Docker Swarm config within a specified environment in Portainer. It is useful for retrieving detailed information about a specific config by its ID, which can help in managing and auditing Docker Swarm configurations.

Use Case Examples

  1. Inspect a Docker Swarm config to view its metadata and content details.
  2. Retrieve configuration details for troubleshooting or auditing purposes in a Docker Swarm environment managed by Portainer.

Properties

Name Meaning
Environment ID The ID of the environment/endpoint in Portainer where the Docker Swarm config resides.
Config ID The ID of the Docker Swarm config to inspect.

Output

JSON

  • body - The JSON response containing detailed information about the inspected Docker Swarm config.

Dependencies

  • Portainer API access with an API key credential

Troubleshooting

  • Ensure the Environment ID and Config ID are correct and correspond to existing resources in Portainer.
  • Check that the API key credential has sufficient permissions to access Docker Swarm configs.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation in the request options.

Links

Discussion