
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这段话即可:
请先阅读并遵守:https://xuanyuan.cloud/agents.md
未读文档前不要生成 pull 命令或排错方案。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
xutongle/php镜像提供多种版本(5.6、7.0、7.1、7.2)的PHP运行环境,包含CLI(命令行)、FPM(FastCGI进程管理器)、Nginx集成、构建环境等类型,满足不同场景下PHP应用的开发和部署需求。镜像构建过程透明,源码可通过GitHub仓库查看。
7.2.1-cli, 7.2-cli:https://github.com/xutongle/docker-php/blob/master/7.2/cli/Dockerfile7.2.1-fpm, 7.2-fpm:https://github.com/xutongle/docker-php/blob/master/7.2/fpm/Dockerfile7.2.1-nginx, 7.2-nginx:https://github.com/xutongle/docker-php/blob/master/7.2/nginx/Dockerfile7.2.1-build, 7.2-build:https://github.com/xutongle/docker-php/blob/master/7.2/build/Dockerfile7.2.1-fpm-base, 7.2-fpm-base:https://github.com/xutongle/docker-php/blob/master/7.2/fpm-base/Dockerfile7.1.13-cli, 7.1-cli:https://github.com/xutongle/docker-php/blob/master/7.1/cli/Dockerfile7.1.13-fpm, 7.1-fpm:https://github.com/xutongle/docker-php/blob/master/7.1/fpm/Dockerfile7.1.13-fpm-base, 7.1-fpm-base:https://github.com/xutongle/docker-php/blob/master/7.1/fpm-base/Dockerfile7.1.13-build, 7.1-build:https://github.com/xutongle/docker-php/blob/master/7.1/build/Dockerfile7.1.13-nginx, 7.1-nginx:https://github.com/xutongle/docker-php/blob/master/7.1/nginx/Dockerfile7.0.27-cli, 7.0-cli:https://github.com/xutongle/docker-php/blob/master/7.0/cli/Dockerfile7.0.27-fpm, 7.0-fpm:https://github.com/xutongle/docker-php/blob/master/7.0/fpm/Dockerfile7.0.27-fpm-base, 7.0-fpm-base:https://github.com/xutongle/docker-php/blob/master/7.0/fpm-base/Dockerfile7.0.27-build, 7.0-build:https://github.com/xutongle/docker-php/blob/master/7.0/build/Dockerfile7.0.27-nginx, 7.0-nginx:https://github.com/xutongle/docker-php/blob/master/7.0/nginx/Dockerfile5.6.33-cli, 5.6-cli:https://github.com/xutongle/docker-php/blob/master/5.6/cli/Dockerfile5.6.33-fpm, 5.6-fpm:https://github.com/xutongle/docker-php/blob/master/5.6/fpm/Dockerfile5.6.33-fpm-base, 5.6-fpm-base:https://github.com/xutongle/docker-php/blob/master/5.6/fpm-base/Dockerfile5.6.33-build, 5.6-build:https://github.com/xutongle/docker-php/blob/master/5.6/build/Dockerfile5.6.33-nginx, 5.6-nginx:https://github.com/xutongle/docker-php/blob/master/5.6/nginx/Dockerfilexutongle/php:7.2-fpm用于FPM环境;/var/www/html);-p 8080:80)。bashdocker run -d -p 8080:80 -v /本地代码路径:/var/www/html docker.xuanyuan.run/xutongle/php:7.2-nginx
访问http://localhost:8080即可查看部署的PHP应用。
bashdocker run -d -v /本地代码路径:/var/www/html docker.xuanyuan.run/xutongle/php:7.2-fpm
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 xutongle/php 相关的常用 Docker 镜像,适用于 Web 开发、内容管理、传统应用 等不同场景: