Skip to content

Commit 0bf9583

Browse files
Update influxdb setup instructions
1 parent 169456b commit 0bf9583

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

influxdb/README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ WARNING:
1616

1717
# Quick reference
1818

19-
- **Maintained by**:
19+
- **Maintained by**:
2020
[InfluxData](https://github.com/influxdata/influxdata-docker)
2121

22-
- **Where to get help**:
22+
- **Where to get help**:
2323
[the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix & Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)
2424

2525
# Supported tags and respective `Dockerfile` links
@@ -47,21 +47,21 @@ WARNING:
4747

4848
# Quick reference (cont.)
4949

50-
- **Where to file issues**:
50+
- **Where to file issues**:
5151
[https://github.com/influxdata/influxdata-docker/issues](https://github.com/influxdata/influxdata-docker/issues)
5252

53-
- **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
53+
- **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
5454
[`amd64`](https://hub.docker.com/r/amd64/influxdb/), [`arm32v7`](https://hub.docker.com/r/arm32v7/influxdb/), [`arm64v8`](https://hub.docker.com/r/arm64v8/influxdb/)
5555

56-
- **Published image artifact details**:
57-
[repo-info repo's `repos/influxdb/` directory](https://github.com/docker-library/repo-info/blob/master/repos/influxdb) ([history](https://github.com/docker-library/repo-info/commits/master/repos/influxdb))
56+
- **Published image artifact details**:
57+
[repo-info repo's `repos/influxdb/` directory](https://github.com/docker-library/repo-info/blob/master/repos/influxdb) ([history](https://github.com/docker-library/repo-info/commits/master/repos/influxdb))
5858
(image metadata, transfer size, etc)
5959

60-
- **Image updates**:
61-
[official-images repo's `library/influxdb` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Finfluxdb)
60+
- **Image updates**:
61+
[official-images repo's `library/influxdb` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Finfluxdb)
6262
[official-images repo's `library/influxdb` file](https://github.com/docker-library/official-images/blob/master/library/influxdb) ([history](https://github.com/docker-library/official-images/commits/master/library/influxdb))
6363

64-
- **Source of this description**:
64+
- **Source of this description**:
6565
[docs repo's `influxdb/` directory](https://github.com/docker-library/docs/tree/master/influxdb) ([history](https://github.com/docker-library/docs/commits/master/influxdb))
6666

6767
# InfluxDB
@@ -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)