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
Image → Get History
AI-generatedOverview
This node operation retrieves the history of a specific Docker image from a Portainer-managed environment. It is useful for users who want to inspect the layers and changes made to a Docker image over time, which can help in debugging, auditing, or understanding the image's build process.
Use Case Examples
- A DevOps engineer wants to see the detailed history of a Docker image to verify the layers and commands used during its creation.
- A developer needs to audit the changes made to a Docker image to ensure compliance with security policies.
Properties
| Name | Meaning |
|---|---|
| Environment ID | The ID of the environment/endpoint in Portainer where the Docker image is located. |
| Image ID | The unique identifier of the Docker image whose history is to be retrieved. |
| Request Options | Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API request behavior. |
Output
JSON
body- The JSON response body containing the history details of the specified Docker image.
Dependencies
- Requires an API key credential for authenticating with the Portainer API.
Troubleshooting
- Ensure the Environment ID and Image ID are correct and correspond to existing resources in Portainer.
- Check network connectivity and proxy settings if the request fails to reach the Portainer API.
- If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security implications.
- Timeout errors may occur if the Portainer server is slow to respond; increase the timeout setting if necessary.
Links
- Portainer API - Get Image History - Official Portainer API documentation for retrieving Docker image history.