diff --git a/haproxy/README.md b/haproxy/README.md index 1c92a79c1..a39aad135 100644 --- a/haproxy/README.md +++ b/haproxy/README.md @@ -56,6 +56,8 @@ $ docker run -it --rm --name haproxy-syntax-check haproxy:1.5 haproxy -c -f /usr $ docker run -d --name my-running-haproxy my-haproxy ``` +You may need to publish the ports your haproxy is listening on to the host by specifying the -p option, for example -p 8080:80 to publish port 8080 from the container host to port 80 in the container. Make sure the port you're using is free. + ## Directly via bind mount ```console diff --git a/influxdb/README.md b/influxdb/README.md index da4d41753..c31694b66 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -48,7 +48,9 @@ The following ports are important and are used by InfluxDB. The HTTP API port will be automatically exposed when using `docker run -P`. -The administrator interface is not automatically exposed when using `docker run -P`. While the administrator interface is run by default, the adminstrator interface requires that the web browser have access to InfluxDB on the same port in the container as from the web browser. Since `-P` exposes the HTTP port to the host on a random port, the administrator interface is not compatible with this setting. +The administrator interface is not automatically exposed when using `docker run -P` and is disabled by default. The adminstrator interface requires that the web browser have access to InfluxDB on the same port in the container as from the web browser. Since `-P` exposes the HTTP port to the host on a random port, the administrator interface is not compatible with this setting. + +The administrator interface is deprecated as of 1.1.0 and will be removed in the future. Find more about API Endpoints & Ports [here](https://docs.influxdata.com/influxdb/latest/concepts/api/). @@ -65,7 +67,7 @@ $ docker run --rm influxdb influxd config > influxdb.conf Modify the default configuration, which will now be available under `$PWD`. Then start the InfluxDB container. ```console -$ docker run -p 8083:8083 -p 8086:8086 \ +$ docker run -p 8086:8086 \ -v $PWD/influxdb.conf:/etc/influxdb/influxdb.conf:ro \ influxdb -config /etc/influxdb/influxdb.conf ``` @@ -89,7 +91,7 @@ Find more about configuring InfluxDB [here](https://docs.influxdata.com/influxdb InfluxDB supports the Graphite line protocol, but the service and ports are not exposed by default. To run InfluxDB with Graphite support enabled, you can either use a configuration file or set the appropriate environment variables. Run InfluxDB with the default Graphite configuration: ```console -docker run -p 8083:8083 -p 8086:8086 \ +docker run -p 8086:8086 \ -e INFLUXDB_GRAPHITE_ENABLED=true \ influxdb ``` @@ -117,7 +119,7 @@ Read more about this in the [official documentation](https://docs.influxdata.com Start the container: ```console -$ docker run --name=influxdb -d -p 8083:8083 -p 8086:8086 influxdb +$ docker run --name=influxdb -d -p 8086:8086 influxdb ``` Run the influx client in another container: @@ -128,12 +130,6 @@ $ docker run --rm --net=container:influxdb -it influxdb influx -host influxdb 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 - -Navigate to [localhost:8083](http://localhost:8083) with your browser while running the container. - -See more about using the web administrator interface [here](https://docs.influxdata.com/influxdb/latest/tools/web_admin/). - # Image Variants The `influxdb` images come in many flavors, each designed for a specific use case. diff --git a/kapacitor/README.md b/kapacitor/README.md index 368573daa..b80dc2652 100644 --- a/kapacitor/README.md +++ b/kapacitor/README.md @@ -60,7 +60,7 @@ Modify the default configuration, which will now be available under `$PWD`. Then ```console $ docker run -p 9092:9092 \ -v $PWD/kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro \ - kapacitord + kapacitor ``` Modify `$PWD` to the directory where you want to store the configuration file.