ソースを参照

Merge pull request #1116 from influxdata/master

Remove mention of the tty exec bug since it no longer exists in supported versions of Docker
Tianon Gravi 8 年 前
コミット
7790fd6aab
1 ファイル変更7 行追加3 行削除
  1. 7 3
      influxdb/content.md

+ 7 - 3
influxdb/content.md

@@ -124,13 +124,17 @@ Start the container:
 $ docker run --name=influxdb -d -p 8086:8086 %%IMAGE%%
 ```
 
-Run the influx client in another container:
+Run the influx client in this container:
 
 ```console
-$ docker run --rm --link=influxdb -it %%IMAGE%% influx -host influxdb
+$ 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).
+Or run the influx client in a separate container:
+
+```console
+$ docker run --rm --link=influxdb -it %%IMAGE%% influx -host influxdb
+```
 
 ### Database Initialization