Skip to content

Conversation

jaal2001
Copy link
Contributor

Removing the

  • influxdb3 in the command section of the docker-compose.yml file to achieve a working version. Using the statement from above leads to an error starting the docker container:

error: unrecognized subcommand 'influxdb3'
Usage: influxdb3 [OPTIONS] [COMMAND]
For more information, try '--help'.

Removing the 
 - influxdb3
in the command section of the docker-compose.yml file to achieve a working version.
Using the statement from above leads to an error starting the docker container:

error: unrecognized subcommand 'influxdb3'
Usage: influxdb3 [OPTIONS] [COMMAND]
For more information, try '--help'.
@jstirnaman
Copy link
Contributor

Hi, thanks for raising this.
We use the documented configuration in our docs-v2/compose.yaml for testing and I haven't seen the problem you describe.

What version of the influxdb3 image are you using? In the current image, the Dockerfile calls entrypoint.sh, which has the following behavior:

If the first arg is serve, it prepends influxdb3.
If the first arg starts with - (e.g., a flag), it prepends influxdb3 serve.
If the first arg is already influxdb3, it runs envsubst on all args.
Finally, it executes the command.

@jstirnaman jstirnaman added the hold off Should not be merged or address yet label Sep 5, 2025
@jstirnaman jstirnaman marked this pull request as draft September 5, 2025 18:00
@jaal2001
Copy link
Contributor Author

jaal2001 commented Sep 5, 2025

What version of the influxdb3 image are you using? In the current image, the Dockerfile calls entrypoint.sh, which has the following behavior:

I'm using the latest available quay.io/influxdb/influxdb3-enterprise:latest image. I tried with the latest available image today, the error still persists.
My docker file does look like this:

[...]
    command:
      - serve
      - --node-id=node0
      - --cluster-id=cluster0
      - --object-store=file
 [...]

If I do add "- influxdb3" like suggested in the docs, I do receive the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hold off Should not be merged or address yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants