Просмотр исходного кода

Update influxdb documentation with clarifications

Removed the `docker exec` example since it doesn't appear to work
because of docker/docker#8755.
Jonathan A. Sternberg 9 лет назад
Родитель
Сommit
b270a323ba
1 измененных файлов с 4 добавлено и 6 удалено
  1. 4 6
      influxdb/content.md

+ 4 - 6
influxdb/content.md

@@ -114,17 +114,15 @@ $ docker run --name=influxdb -d -p 8083:8083 -p 8086:8086 influxdb
 Run the influx client in another container:
 Run the influx client in another container:
 
 
 ```console
 ```console
-$ docker run --rm --link=influxdb -it influxdb influx -host influxdb
+$ docker run --rm --net=container:influxdb -it influxdb influx -host influxdb
 ```
 ```
 
 
-Alternatively, jump directly into the container:
-
-```console
-$ docker exec -it influxdb influx
-```
+At the moment, you cannot use `docker exec` to run the influx client since `docker exec` will not properly allocate a TTY. This is due to a current bug in Docker that is detailed in [docker/docker#8755](https://github.com/docker/docker/issues/8755).
 
 
 ### Web Administrator Interface
 ### Web Administrator Interface
 
 
 Navigate to [localhost:8083](http://localhost:8083) with your browser while running the container.
 Navigate to [localhost:8083](http://localhost:8083) with your browser while running the container.
 
 
 See more about using the web admin [here](https://docs.influxdata.com/influxdb/latest/tools/web_admin/).
 See more about using the web admin [here](https://docs.influxdata.com/influxdb/latest/tools/web_admin/).
+
+The web administrator interface requires that the web browser have access to InfluxDB. You must expose the InfluxDB HTTP port as the same port when using the admin interface.