This is a multi-platform Docker image for Tengine v3.1.0, built on Alpine Linux. It integrates jemalloc, supports HTTPS, HTTP/2, stream proxy, and various performance and security modules. Ideal for high-performance reverse proxy and load balancing scenarios.
amd64 and arm64 architecturesjemalloc for improved memory allocation performancerealip, auth_request, slice, etc./status./configure \
--prefix=/opt/tengine \ # Install path
--with-jemalloc \ # High-performance memory allocator
--with-threads \ # Thread pool support
--with-file-aio \ # Asynchronous file I/O
--with-http_ssl_module \ # HTTPS (SSL/TLS)
--with-http_v2_module \ # HTTP/2 protocol
--with-http_realip_module \ # Preserve real client IP behind proxies
--with-http_stub_status_module \ # Monitoring endpoint
--with-http_gzip_static_module \ # Serve pre-compressed .gz files
--with-pcre-jit \ # Faster regex handling
--with-http_auth_request_module \ # External authentication support (e.g., SSO)
--with-http_slice_module \ # Efficient large file delivery
--with-http_secure_link_module \ # Secure link (anti-leech)
--with-http_addition_module \ # Add content to responses
--with-http_degradation_module \ # Graceful degradation under high load
--with-stream \ # TCP/UDP reverse proxy
--with-stream_ssl_module \ # Stream SSL support
--with-stream_realip_module \ # Preserve real IP in stream mode
--with-stream_ssl_preread_module # SSL preread for SNI-based routing
# For ARM64
docker pull jas0n0ss/tengine:arm64
# For AMD64
docker pull jas0n0ss/tengine:amd64
docker run -d \
-p 80:80 -p 443:443 \
--name tengine \
jas0n0ss/tengine:arm64
# With docker run
docker run -d \
-p 80:80 -p 443:443 \
-v /path/to/nginx.conf:/opt/tengine/conf/nginx.conf:ro \
-v /path/to/conf.d:/opt/tengine/conf/conf.d:ro \
--name tengine \
jas0n0ss/tengine:amd64
# With docker-compose
version: '3.8'
services:
tengine:
image: jas0n0ss/tengine:amd64
container_name: tengine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx.conf:/opt/tengine/conf/nginx.conf:ro
- ./conf.d:/opt/tengine/conf/conf.d:ro
- ./logs:/opt/tengine/logs
- ./cache:/var/cache/nginx
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/status"]
interval: 30s
timeout: 5s
retries: 3
The image includes a built-in health check at http://localhost/status, ensuring the service is running correctly.
amd64 and arm64Content type
Image
Digest
sha256:4c289a5e0…
Size
13.3 MB
Last updated
over 1 year ago
docker pull jas0n0ss/tengine:amd64