nginx+php7.4 based on debian bullseye
76
感觉还是基于debian来做比较好一些。 当然,做出来的镜像大了一些,大些就大些嘛,又不是没硬盘放。。。
root@7a625f720e77:/var/www/html# php -m
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
docker run --name foobar -p 8080:8080 -v ./www:/var/www/html -d hefish/debian-nginx-php7:1.0
Content type
Image
Digest
sha256:98b87fbd7…
Size
174 MB
Last updated
over 3 years ago
docker pull hefish/debian-nginx-php7:1.0