1、进入你的容器
docker exec -it 你的容器名称 /bin/bash
2、执行
pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis
docker exec -it 你的容器名称 /bin/bash
pecl install -o -f redis && rm -rf /tmp/pear && docker-php-ext-enable redis
文章数
437
浏览数
99322
今日发布
0