Run update.sh
This commit is contained in:
parent
a373a49c40
commit
f4e634af42
|
|
@ -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).
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue