InfluxDB: 3-Kern QuTS Hero Container Station

Ich möchte einen influxdb:3-core Docker-Container auf QuTS Hero h6.1.0.3640 installieren, aber es schlägt fehl mit folgender Meldung: „Python environment initialization failed: Package manager not available: pip package manager is not available. Please install Python with pip
Please ensure Python and pip package manager is installed“

Kann mir jemand helfen, wie ich das Problem lösen kann?

Wie sieht dein Compose aus?

influxdb:
container_name: influxdb
image: influxdb:3-core
ports:

  • 8181:8181
    command:
  • influxdb3
  • serve
  • –node-id=node0
  • –object-store=file
  • –data-dir=/var/lib/influxdb3/data
  • –plugin-dir=/var/lib/influxdb3/plugins
    umgebung:
    INFLUXDB3_NODE_IDENTIFIER_PREFIX: 00
    INFLUXDB3_OBJECT_STORE: memory
    volumes:
  • /share/xxxx_DATA/Container/Influxdb-data:/var/lib/influxdb3/data
  • /share/xxxx_DATA/Container/Influxdb-plugins:/var/lib/influxdb3/plugins
    network_mode: bridge

Du hast die Listenfunktion statt der Codefunktion verwendet, deshalb ist die ganze Formatierung verloren gegangen.

Entschuldigung, dass ich das falsche Format verwendet habe

 influxdb:
    container_name: influxdb
    image: influxdb:3-core
    ports:
      - 8181:8181
    command:
      - influxdb3
      - serve
      - --node-id=node0
      - --object-store=file
      - --data-dir=/var/lib/influxdb3/data
      - --plugin-dir=/var/lib/influxdb3/plugins
    environment:
      INFLUXDB3_NODE_IDENTIFIER_PREFIX: 00
      INFLUXDB3_OBJECT_STORE: memory
    volumes:
      - /share/xxxx_DATA/Container/Influxdb-data:/var/lib/influxdb3/data
      - /share/xxxx_DATA/Container/Influxdb-plugins:/var/lib/influxdb3/plugins
    network_mode: bridge

Werden die Verzeichnisse nach Ausführung des Befehls an den richtigen Stellen erstellt?

Ja, die Verzeichnisse werden erstellt

Ich habe eine andere YAML auf QTS 5.2.9 ausprobiert, aber der Container startet einfach immer wieder neu (wie in der Policy vorgesehen).

name: influxdb3
services:
  influxdb3-core:
    container_name: influxdb3-core
    image: influxdb:3-core
    ports:
      - "8182:8181"
    command:
      - influxdb3
      - serve
      - --node-id=node0
      - --object-store=file
      - --data-dir=/var/lib/influxdb3/data
      - --plugin-dir=/var/lib/influxdb3/plugins
    volumes:
      - /share/Container/influx/data:/var/lib/influxdb3/data
      - /share/Container/influx/plugins:/var/lib/influxdb3/plugins
    restart: unless-stopped