如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
WSO2 Traffic Manager is responsible for handling traffic control and policy enforcement within the WSO2 API Manager architecture.
It manages rate limiting, throttling decisions, and quota enforcement across APIs and applications, ensuring fair usage and system stability.
As part of a distributed API management setup, the Traffic Manager works alongside the Control Plane and Universal Gateway to provide a scalable and reliable API management platform.
Designed for high scalability, it processes traffic events and enforces policies in real time to support high-volume API deployments.
WSO2 provides Docker images on https://hub.docker.com/u/wso2/ for multiple products. These images contain General Availability (GA) versions without WSO2 Updates.
For production deployments, it is recommended to use updated images from the WSO2 Private Docker Registry, which include WSO2 Updates.
WSO2 Traffic Manager Docker images are built for running the traffic control and policy enforcement component of WSO2 API Manager in containerized environments.
They support multiple base OS variants and are designed for development, testing, and deployment of API-driven architectures.
4.7.0
https://github.com/wso2/docker-apim/blob/v4.7.0.1/dockerfiles/ubuntu/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.7.0.1/dockerfiles/alpine/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.7.0.1/dockerfiles/rocky/apim-tm/Dockerfile
4.6.0
https://github.com/wso2/docker-apim/blob/v4.6.0.5/dockerfiles/ubuntu/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.6.0.5/dockerfiles/alpine/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.6.0.5/dockerfiles/rocky/apim-tm/Dockerfile
4.5.0
https://github.com/wso2/docker-apim/blob/v4.5.0.1/dockerfiles/ubuntu/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.5.0.1/dockerfiles/alpine/apim-tm/Dockerfile,
https://github.com/wso2/docker-apim/blob/v4.5.0.1/dockerfiles/rocky/apim-tm/Dockerfile
bashdocker run -it -p 9711:9711 \ --name api-traffic-manager wso2/wso2am-tm:4.7.0
By default, port 9711 is exposed. You can map additional ports as needed.
View logs:
bashdocker logs api-traffic-manager
Access container shell:
bashdocker exec -it api-traffic-manager bash
Run the container with remote debugging enabled (port 5005):
bashdocker run -it -p 9711:9711 -p 5005:5005 \ --name api-traffic-manager-debug \ wso2/wso2am-tm:4.7.0 -debug *:5005
You can override Traffic Manager configurations by mounting files from the host.
deployment.tomlCopy the config file from the product:
{DISTRIBUTION_HOME}/repository/conf/deployment.toml
Update required values (e.g., set port offset):
toml[server] offset = 1
Grant read permission:
bashchmod o+r {SOURCE_CONFIGS}/deployment.toml
Run the container with the mounted config:
bashdocker run -p 9712:9712 \ --volume {SOURCE_CONFIGS}/deployment.toml:{TARGET_CONFIGS}/deployment.toml \ wso2/wso2am-tm:4.7.0
{TARGET_CONFIGS} refers to:
/home/wso2carbon/wso2am-tm-4.7.0/repository/conf
WSO2 Traffic Manager Docker images are available with different base operating systems.
| Image Tag | Base OS | JDK |
|---|---|---|
wso2am-tm:4.7.0 | Ubuntu 24.04 LTS | Temurin OpenJDK 25 |
wso2am-tm:4.7.0-alpine | Alpine 3.23 | Temurin OpenJDK 25 |
wso2am-tm:4.7.0-rocky | Rocky Linux 9 | Temurin OpenJDK 25 |
Each image includes a pre-installed WSO2 Traffic Manager distribution on top of the respective base OS.
Where to get help: Docker Community Forums, Docker Community Slack, Stack Overflow or mail to WSO2 Developer mailing list
Where to file issues: Product specific issues at WSO2 API Manager product https://github.com/wso2/api-manager/issues and Docker resource usage issues at WSO2 API Manager product Docker resource https://github.com/wso2/docker-apim/issues
Maintained by: WSO2 LLC.
Supported Docker versions: Docker v17.09.0 or above
View https://github.com/wso2/product-apim/blob/master/traffic-manager/LICENSE.txt for the software contained in this image.
As with all Docker images, these are likely to contain other software which may be under other licenses (such as Bash, etc. from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。





来自真实用户的反馈,见证轩辕镜像的优质服务