
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
https://github.com/serversideup/docker-php/actions/workflows/action_publish-images-production.yml
https://github.com/serversideup/docker-php/blob/main/LICENSE
https://github.com/***/serversideup
https://hub.docker.com/r/serversideup/php/
Production-ready PHP Docker images built on official PHP. Optimized for Laravel, WordPress, and modern PHP applications.
serversideup/php takes the official PHP Docker images and adds everything you need for real-world production use:
Want to see how easy it is? Our installation guide walks you through creating your first PHP app with Docker:
phpinfo() in your browser👉 Follow the quick start guide
Here's what a complete Laravel setup with NGINX + PHP 8.5 looks like:
ymlservices: php: image: serversideup/php:8.5-fpm-nginx ports: - "80:8080" environment: # Customize PHP with environment variables PHP_OPCACHE_ENABLE: "1" PHP_MEMORY_LIMIT: "512M" # Laravel automations (migrations, storage link, etc.) AUTORUN_ENABLED: "true" volumes: - .:/var/www/html
That's it. No complex configs. Just environment variables.
Ready to try it? Get started with our tutorial →
Choose the variation that fits your needs. All images follow the pattern:
serversideup/php:{{version}}-{{variation-name}}
| Variation | Best For | Example |
|---|---|---|
| cli | CLI scripts, cron jobs, queues | serversideup/php:8.5-cli |
| fpm | Custom web server setup | serversideup/php:8.5-fpm |
| fpm-apache | Apache-based deployments | serversideup/php:8.5-fpm-apache |
| fpm-nginx | Stable and performant web server | serversideup/php:8.5-fpm-nginx |
| frankenphp | Modern, high-performance apps with worker mode | serversideup/php:8.5-frankenphp |
[!NOTE]
All images are available on https://hub.docker.com/r/serversideup/php/ and https://github.com/serversideup/docker-php/pkgs/container/php.
We support PHP 7.4 through 8.5 with both Debian and Alpine base images.
Learn More About Choosing an Image →
| ⚙️ Variation | 🚀 Version |
|---|---|
| cli | Debian Based Alpine Based |
| fpm | Debian Based Alpine Based |
| fpm-apache | Debian Based |
| fpm-nginx | Debian Based Alpine Based |
| frankenphp | Debian Based Alpine Based |
| unit (deprecated) | ⚠️ NGINX is no longer maintaining NGINX Unit. We stopped providing updates for this image. Learn more → |
Need help integrating Docker with your PHP application?
As an open-source project, we strive for transparency and collaboration in our development process. We greatly appreciate any contributions members of our community can provide. Whether you're fixing bugs, proposing features, improving documentation, or spreading awareness - your involvement strengthens the project. Please review our contribution guidelines and code of conduct to understand how we work together respectfully.
Need help getting started? Join our *** community and we'll help you out!
All of our software is free and open to the world. None of this can be brought to you without the financial backing of our ***.
https://github.com/***/serversideup
Bronze ***
No bronze *** yet. https://github.com/***/serversideupInfrastructure ***
This project requires significant computing power to build and maintain over 8,000 different Docker image tags. We're extremely grateful for the following ***:
https://hub.docker.com/u/serversideup
Individual Supporters
https://github.com/aagjalpankajWe're Dan and Jay - a two-person team with a passion for open source products. We created Server Side Up to help share what we learn.
Dan Pastori | Jay Rogers |
|---|---|
https://github.com/danpastori | https://github.com/jaydrogers |
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务
以下是 serversideup/php 相关的常用 Docker 镜像,适用于 Web 开发、内容管理、传统应用 等不同场景: