# Get InfluxDB Container Version

Source: https://openflow.run/en/templates/get-influxdb-container-version/
Content language: en
Template revision: 6a810ce0d6451572951d8ffad4656467a01774f0

Development

Run influxd version in the named container through the Docker Engine API.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F6a810ce0d6451572951d8ffad4656467a01774f0%2Fworkflows%2Fget-influxdb-container-version%2Ftemplates%2Fget-influxdb-container-version.openflow.json)

*   [Open Flow JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/get-influxdb-container-version/templates/get-influxdb-container-version.openflow.json)
*   [n8n JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/get-influxdb-container-version/templates/get-influxdb-container-version.n8n.json)

![Get InfluxDB Container Version workflow in Open Flow](https://openflow.run/template-previews/get-influxdb-container-version/light.webp)

Return the installed InfluxDB version from a running container.

## Setup

Provide a Docker Engine v1.44 HTTPS gateway that authenticates Bearer tokens and permits only the fixed influxd version exec sequence for the selected containers. Set its URL and expected server domain in **Validate server and request**, and its hostname in **Run version command** HTTP allowlist. Bind INSPECTION\_WEBHOOK\_AUTH to the incoming Authorization header and DOCKER\_GATEWAY\_TOKEN to the gateway token. Restrict access to the Docker gateway because exec can run commands in containers.

## Use

POST server\_domain, domain and command app\_version. The workflow runs influxd version inside the running container named domain plus \_influxdb and checks its exit status. A retry can create another short-lived exec instance.

In n8n

In n8n configure the gateway URL, expected domain and Header Auth credentials.

Inspiration & credits

Extract app\_version, using Docker Engine exec in place of SSH.

Adapted from [Docker InfluxDB API](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Code/1815_Code_Webhook_Automation_Webhook.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). Attribution: Zie619 / n8n-workflows.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## What you’ll need

*   Docker Engine API endpoint secured by an authenticated HTTPS gateway
*   Webhook secret

*   docker
*   influxdb
*   webhook

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/get-influxdb-container-version/README.md)
