Sign inSign up

iqcms/hyperf

By iqcms

•Updated over 6 years ago

PHP版本7.2.31,内含扩展: redis, memcached, mongodb,swoole, xlswriter,imagick,pdo_mysql, pdo_pgsql,bcmath等

Image
0

130

iqcms/hyperf repository overview

基于iqcms/php:7.2.31-cli-ssh镜像构建,内含hyperf框架,版本2.0.0, 框架代码在容器的 /hf/目录下,默认开启了SSH, 及端口22, 端口9501。默认用户名root, 密码 123456

容器中包含工具: composer, vim, bash, sudo, wget, procps ,git ,nodejs ,nodejs-npm

创建容器并启动框架:例如 docker run -itd --name=iqcms_hf -p 223:22 -p 9502:9501 iqcms/hyperf:2.0.0 php /hf/bin/hyperf.php start

如宿主机已有代码,可挂载到容器:例如 docker run -itd --name=iqcms_hf -p 223:22 -p 9502:9501 -v /hf:/hf iqcms/hyperf:2.0.0

进入容器 docker exec -it iqcms_hf /bin/bash

启动运行代码 php bin/hyperf.php start &

Tag summary

Content type

Image

Digest

Size

290.6 MB

Last updated

over 6 years ago

docker pull iqcms/hyperf:2.0.0