第一次 docker-compose up -d nginx MySQL Redis 时候报错。
No releases available for package "pecl.php.net/redis"
install failed
ERROR: Service 'php-fpm' failed to build: The command '/bin/sh -c if [ ${INSTALL_PHPREDIS} = true ]; then printf "\n" | pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis ;fi' returned a non-zero code: 1
推荐文章: