php-fpm docker 寄主目录不支持软链

RUN后面的指令,是创建完该镜像的容器后,再在容器上执行这些指令。

这里先不用手动build镜像,等会用docker-compose会自动build。

403 问题 docker
docker 寄主目录不支持软链

sudo apt-get install php-fpm
/etc/php/7.0/fpm/pool.d/www.conf 加上
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
然后重启 systemctl start php7.0-fpm.service

Leave a Reply

Your email address will not be published. Required fields are marked *