
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
All-purpose PHP-FPM 7.4 Docker image that comes with the most popular extensions.
https://img.shields.io/docker/pulls/otherguy/php7-fpm?style=flat-square]https://hub.docker.com/r/otherguy/php7-fpm/ https://img.shields.io/docker/stars/otherguy/php7-fpm?style=flat-square]https://hub.docker.com/r/otherguy/php7-fpm/ https://img.shields.io/travis/com/otherguy/docker-php7-fpm?style=flat-square]https://travis-ci.com/otherguy/docker-php7-fpm https://img.shields.io/github/issues/otherguy/docker-php7-fpm?style=flat-square]https://github.com/otherguy/docker-php7-fpm/issues https://img.shields.io/microbadger/layers/otherguy/php7-fpm?style=flat-square]https://microbadger.com/images/otherguy/php7-fpm https://img.shields.io/github/stars/otherguy/docker-php7-fpm?color=violet&style=flat-square]https://github.com/otherguy/php7-fpm/stargazers https://img.shields.io/github/license/otherguy/docker-php7-fpm?color=orange&style=flat-square]license
Don't worry about building complex Docker images for your [***] https://lumen.laravel.com or other PHP 7.4+ applications. Just use this lightweight and convenient image.
$ docker pull otherguy/php7-fpm:7.4
Base your Docker image on otherguy/php7-fpm:7.4, add your project files and you're ready to go!
Dockerfile# Dockerfile FROM otherguy/php7-fpm:7.4 COPY --chown=www-data:www-data . /srv
If you want to change the PHP configuration or overwrite some defaults, simply create your own
configuration file, have the filename start with a z and add it to the image.
ini# zz-custom.ini post_max_size = 100M upload_max_filesize = 100M
Dockerfile# Dockerfile ... COPY zz-custom.ini /usr/local/etc/php/conf.d/ ...
It's simple to add your own extensions to the image!
Dockerfile# Dockerfile ... RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \ && pecl install mongodb \ && docker-php-ext-enable mongodb ...
This is a docker image for an all-purpose PHP-FPM (PHP Version 7.4) container. It is based on the 7.4-fpm-alpine
tag of the https://hub.docker.com/_/php/. http://semver.org upgrades
are therefore done automatically on build (e.g. 7.4.11 to 7.4.12) but for minor version upgrades
(e.g. 7.3.x to 7.4.x), a new Dockerfile should be created and tagged appropriately.
There are some new features and deprecated modules that made changes to the Dockerfile necessary:
mcrypt has been http://php.net/manual/en/migration71.deprecated.php in
favor of OpenSSLgd, intl, opcache and
PDO are installed through this imageThe installed extensions are enough for https://laravel.com/docs/8.x/installation as long as the project is using either PostgreSQL, MySQL or SQLite. If you need other database drivers/extensions, please fork this image and submit a https://github.com/otherguy/docker-php7-fpm/pulls, or simply install it in your own image.
This is the full list of extensions available to PHP in this image:
ctypecurldatedomfileinfofilterftpgdhashiconvintljsonlibxmlmbstringmysqlimysqlndopensslpcrePDOpdo_mysqlpdo_pgsqlpdo_sqlitePharposixreadlineReflectionsessionSimpleXMLsodiumSPLsqlite3standardtokenizerxmlxmlreaderxmlwriterZend OPcachezlibIn order to build this image yourself, simply run the following command:
$ docker build -t otherguy/php7-fpm:7.4 .
https://github.com/otherguy/docker-php7-fpm/pulls are more than welcome!
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务