Skip to content

Commit

Permalink
Run update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
docker-library-bot committed Nov 30, 2016
1 parent c96ab22 commit 32b25e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 2 additions & 0 deletions haproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 6 additions & 10 deletions influxdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).

Expand All @@ -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
```
Expand All @@ -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
```
Expand Down Expand Up @@ -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:
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion kapacitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 32b25e2

Please sign in to comment.