I’ve read the documentation, but it isn’t clear on how to use the influx CLI with influxdb 2.0 running in Docker. I sort of need this to add new users.
@sgreszcz after you console into the Docker container running influxd
, you should have access to the influx
CLI.
docker exec -it influxdb /bin/bash
which influx
You can also just go straight in, e.g. this is what I use with Home Assistant but works regardless if you use the right docker name:
docker exec -it addon_a0d7b954_influxdb influx -username myuser -password mypassword
That leaves me in the CLI directly. Names and the like vary of course.