Skip to content

Commit 9549607

Browse files
Update influxdb setup instructions
1 parent 169456b commit 9549607

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

influxdb/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ $ docker exec influxdb2 influx setup \
158158
--username $USERNAME \
159159
--password $PASSWORD \
160160
--org $ORGANIZATION \
161-
--bucket $BUCKET \
162-
--setup
161+
--bucket $BUCKET
163162
```
164163

165164
Running setup from within the container will cause CLI configs to be written to `/etc/influxdb2/influx-configs`. You can then use the `influx` CLI from within the container to extract the generated admin token:

influxdb/content.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ $ docker exec influxdb2 influx setup \
9292
--username $USERNAME \
9393
--password $PASSWORD \
9494
--org $ORGANIZATION \
95-
--bucket $BUCKET
95+
--bucket $BUCKET \
96+
--force
9697
```
9798

9899
Running setup from within the container will cause CLI configs to be written to `/etc/influxdb2/influx-configs`. You can then use the `influx` CLI from within the container to extract the generated admin token:

0 commit comments

Comments
 (0)