Actions86
- Config Actions
- Container Actions
- Edge Group Actions
- Edge Stack Actions
- Environment Actions
- Image Actions
- Network Actions
- Node Actions
- Registry Actions
- Secret Actions
- Service Actions
- Setting Actions
- Stack Actions
- System Actions
- Team Actions
- Template Actions
- User Actions
- Volume Actions
- Webhook Actions
Config → Inspect
AI-generatedOverview
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
- Inspect a Docker Swarm config to view its metadata and content details.
- 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
- Portainer API - Docker Swarm Configs - Official Portainer API documentation for managing Docker Swarm configs, including inspection.