基于CentOS/Amazon Linux构建的Nginx LuaJIT镜像Dockerfile。
latest (https://github.com/phenompeople/nginx/blob/master/1.20.2/Dockerfile)1.20.2 (https://github.com/phenompeople/nginx/blob/master/1.20.2/Dockerfile)1.14.0 (https://github.com/phenompeople/nginx/blob/master/1.14.0/Dockerfile)1.13.4 (https://github.com/phenompeople/nginx/blob/master/1.13.4/Dockerfile)angular (https://github.com/phenompeople/nginx/blob/master/1.11.10/Dockerfile)此镜像已弃用,建议使用自动化提供的nginx镜像。上游镜像可通过docker.elastic.co/phenompeople/nginx:[version](如1.13.4)拉取。此处镜像将不再更新,请相应调整使用方式。
1.11.10latestpodangularmicrosoft| 组件名称 | latest | 1.14.0 | 1.13.9 |
|---|---|---|---|
| Nginx - Core | 1.14.0 | 1.14.0 | 1.13.9 |
| Open SSL | 1.1.1 | 1.1.1 | 1.0.2n |
| PCRE | 8.42 | 8.42 | 8.41 |
| ZLIB | 1.2.11 | 1.2.11 | 1.2.11 |
| LUAJIT | 2.0.5 | 2.0.5 | 2.0.5 |
| Nginx Dev Kit | v0.3.0 | v0.3.0 | v0.3.0 |
| Nginx Lua Mod Version | v0.10.11 | v0.10.11 | v0.10.10 |
| Nginx Sticky Module | master | master | N/A |
| Nginx AJP Module | master | master | master |
bash$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest
上述命令运行nginx容器,将80端口映射到主机,并挂载静态站点及其配置文件。
bash$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -p 80:80 -td phenompeople/nginx:latest
bash$ docker run --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /etc/nginx/ssl:/etc/nginx/ssl -p 80:80 -p 443:443 -td phenompeople/nginx:latest
上述命令运行nginx容器,映射80和443端口,并挂载配置文件与SSL证书目录。
bash$ docker run --restart=always --name=nginx -v /etc/nginx/conf.d:/etc/nginx/conf.d -v /usr/share/nginx/html:/usr/share/nginx/html -p 80:80 -td phenompeople/nginx:latest
许可证: Apache License
作者: Phenompeople Pvt Ltd (<***>)


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务