Собираю нужный мне образ,
DockerileFROM php:5.6-apache
RUN apt-get update && \
apt-get install -y libfreetype6-dev && \
docker-php-ext-configure gd --with-freetype-dir=/usr/include/ && \
docker-php-ext-install -j$(nproc) gd && \
docker-php-ext-install -j$(nproc) mysql pdo_mysql && \
apt-get install -y memcached && \
apt-get install -y wget && \
wget http://pear.php.net/go-pear.phar && \
php go-pear.phar && \
rm go-pear.phar && \
cd /etc/apache2/mods-enabled && \
ln -s ../mods-available/rewrite.load
COPY 000-default.conf /etc/apache2/sites-available
docker run -i -t -p 8080:80 -v /Library/WebServer/Documents/localhost:/var/www/html villiwalla/localhost bash
Опять перехожу по адресу localhost:8080 а мне пишет:
Fatal error: Class 'Memcache' not found in /var/www/html/vendor/AR/lib/cache/Memcache.php