diff --git a/influxdb/README.md b/influxdb/README.md index ad96e35b7..a64d613de 100644 --- a/influxdb/README.md +++ b/influxdb/README.md @@ -125,7 +125,7 @@ $ docker run --name=influxdb -d -p 8086:8086 influxdb Run the influx client in another container: ```console -$ docker run --rm --net=container:influxdb -it influxdb influx -host influxdb +$ docker run --rm --link=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). diff --git a/php/README.md b/php/README.md index af063dd83..4bdd2f23c 100644 --- a/php/README.md +++ b/php/README.md @@ -127,6 +127,13 @@ Remember, you must install dependencies for your extensions manually. If an exte Some extensions are not provided with the PHP source, but are instead available through [PECL](https://pecl.php.net/). To install a PECL extension, use `pecl install` to download and compile it, then use `docker-php-ext-enable` to enable it: +```dockerfile +FROM php:7.1-fpm +RUN pecl install redis-3.1.0 \ + && pecl install xdebug-2.5.0 \ + && docker-php-ext-enable redis xdebug +``` + ```dockerfile FROM php:5.6-fpm RUN apt-get update && apt-get install -y libmemcached-dev zlib1g-dev \