docker/tutum-squid该Docker镜像提供了一个轻量级代理服务,专门用于在UCP(Universal Control Plane)环境中,将HTTP和HTTPS流量高效路由至Tutum Infra NAT网关。通过该代理,可实现UCP与Tutum基础设施NAT网关之间的流量转发,简化跨环境的网络通信配置。
bashdocker run -d \ --name ucp-tutum-nat-proxy \ -p 80:80 \ -p 443:443 \ tutum/ucp-nat-gateway-proxy
| 环境变量 | 描述 | 默认值 |
|---|---|---|
UCP_ENDPOINT | UCP服务的访问端点 | [***] |
NAT_GATEWAY_IP | Tutum Infra NAT网关IP地址 | 需手动指定 |
HTTP_PORT | HTTP流量监听端口 | 80 |
HTTPS_PORT | HTTPS流量监听端口 | 443 |
LOG_LEVEL | 日志级别(debug/info/warn/error) | info |
bashdocker run -d \ --name ucp-tutum-nat-proxy \ -p 80:80 \ -p 443:443 \ -e UCP_ENDPOINT="[***]" \ -e NAT_GATEWAY_IP="192.168.1.100" \ -e LOG_LEVEL="debug" \ tutum/ucp-nat-gateway-proxy
yamlversion: '3' services: ucp-tutum-proxy: image: tutum/ucp-nat-gateway-proxy container_name: ucp-tutum-nat-proxy ports: - "80:80" - "443:443" environment: - UCP_ENDPOINT=[***] - NAT_GATEWAY_IP=192.168.1.100 - LOG_LEVEL=info restart: unless-stopped
NAT_GATEWAY_IP为必填参数,需根据实际部署环境指定LOG_LEVEL参数进行问题排查与日志分析manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务