轻量级 PHP 8.1 + Apache + SQLite3 运行环境,适用于各类 PHP 项目。
✨ 特性
php:8.1-apache 基础镜像).htaccess 覆盖linux/amd64 + linux/arm64🚀 快速使用
docker run -d --name myapp -p 8080:80 -v ./html:/var/www/html ywsj/onenav-php:latest
或使用 docker-compose:
services:
web:
image: ywsj/onenav-php:latest
container_name: myapp
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./html:/var/www/html
📌 说明
本镜像只提供 PHP 运行环境,不包含项目代码。请将你的项目目录映射到 /var/www/html。
Content type
Image
Digest
sha256:83eb07fea…
Size
169 MB
Last updated
3 months ago
docker pull ywsj/onenav-php