Portainer icon

Portainer

Work with Portainer API data to manage Docker

Container → Unpause

AI-generated

Overview

This node operation unpauses a paused Docker container in a specified environment using the Portainer API. It is useful in scenarios where a container has been paused to temporarily halt its processes and needs to be resumed without restarting it. For example, if a container running a web service was paused for maintenance, this operation can unpause it to resume normal operation.

Use Case Examples

  1. Unpause a paused container by specifying the environment ID and container ID to resume its processes.
  2. Use this operation in automation workflows to manage container states dynamically based on system conditions.

Properties

Name Meaning
Environment ID The ID of the environment/endpoint in Portainer where the container is running.
Container ID The unique identifier of the container to be unpaused.
Request Options Additional 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 from the Portainer API after unpausing the container, typically indicating success or failure of the operation.

Dependencies

  • Portainer API with an API key credential for authentication

Troubleshooting

  • Ensure the Environment ID and Container ID are correct and correspond to existing resources in Portainer.
  • Check that the container is currently paused; unpausing a running or stopped container may result in an error.
  • Verify that the API key credential has sufficient permissions to perform container operations.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option if appropriate for your environment.

Links

Discussion