Parcourir la source

Run update.sh

Docker Library Bot il y a 9 ans
Parent
commit
f4e634af42
2 fichiers modifiés avec 8 ajouts et 1 suppressions
  1. 1 1
      influxdb/README.md
  2. 7 0
      php/README.md

+ 1 - 1
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).

+ 7 - 0
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 \