Portainer icon

Portainer

Work with Portainer API data to manage Docker

Container → Start

AI-generated

Overview

This node operation starts a stopped Docker container within a specified environment in Portainer. It is useful for automating container lifecycle management, such as restarting containers after maintenance or scaling operations.

Use Case Examples

  1. Starting a specific container by its ID in a given environment to resume its operation.
  2. Automating container start as part of a deployment pipeline.

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 start.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • body - The JSON response body from the Portainer API after starting the container, typically empty or status confirmation.

Dependencies

  • Requires Portainer API access with an API key credential.

Troubleshooting

  • Ensure the Environment ID and Container ID are correct and the container is in a stopped state before starting.
  • Check API key permissions to allow container start operations.
  • If SSL issues occur, consider enabling 'Ignore SSL Issues' option or verify the SSL certificate.
  • Timeout errors may require increasing the timeout setting in request options.

Links

Discussion