
如果你使用 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 product Docker images available at https://hub.docker.com/u/wso2/ package General Availability (GA) versions of WSO2 products with no https://wso2.com/updates.
For a production grade deployment of the desired WSO2 product-version, it is highly recommended to use the relevant Docker image which packages WSO2 Updates, available at https://docker.wso2.com/.
Dockerfile linkshttps://github.com/wso2/docker-ei/blob/v6.3.0.1/dockerfiles/msf4j/Dockerfile
Where to get help:
https://forums.docker.com/, https://blog.docker.com/2016/11/introducing-docker-community-directory-docker-community-slack/, https://stackoverflow.com/questions/tagged/wso2 or mail to WSO2 Developer mailing list
Where to file issues:
Product specific issues at WSO2 Enterprise Integrator product https://github.com/wso2/product-ei/issues and Docker resource usage issues at product Docker resource https://github.com/wso2/docker-ei/issues
Maintained by:
https://wso2.com/
Supported Docker versions:
Docker v17.09.0 or above
With its lightweight, fast runtime and annotation-based programming model, WSO2 Microservices Framework for Java (WSO2 MSF4J) offers the best option to create microservices in Java with container-based deployment in mind. Microservices developed using WSO2 MSF4J can boot in just a few milliseconds in a Docker container and can easily be added to a Docker image definition.
!https://wso2.com/sites/all/products/common/product-logos/enterprise-integrator.svg
The following command starts a Linux Ubuntu-based MSF4J profile Docker image.
console$ docker run -it -p 9090:9090 --name msf4j wso2/wso2ei-msf4j:6.4.0
Here, port 9090 has been mapped to the corresponding Docker host (host machine on top of which containers are spawned) ports.
Assuming you have started a Docker container instance of MSF4J profile as instructed in the previous section
Start a MSF4J profile instance,
console$ docker logs msf4j
console$ docker exec -it msf4j bash
To start a Docker container instance of the MSF4J profile in debug mode (assuming 5005 to be the remote debugging port), use the following command:
console$ docker run -it -p 9090:9090 -p 5005:5005 --name another-msf4j wso2/wso2ei-msf4j:6.4.0 -debug 5005
Note: Passing arguments during server startup is not supported in Docker image with tag 6.3.0.
Configurations would lie on the Docker host machine and they can be volume mounted to the container. As an example,
the steps required to change the port offset using carbon.yml is as follows:
In the MSF4J profile product distribution, carbon.yml configuration file can be found at {DISTRIBUTION_HOME}/wso2/msf4j/conf.
Copy the file to a suitable location of the host machine, referred to as {SOURCE_CONFIGS}/carbon.xml and increase the offset value under ports by 1.
other users for {SOURCE_CONFIGS}/carbon.yml.console$ chmod o+r {SOURCE_CONFIGS}/carbon.yml
console$ docker run -p 9090:9090 --volume {SOURCE_CONFIGS}/carbon.yml:{TARGET_CONFIGS}/carbon.yml wso2/wso2ei-msf4j:6.4.0
Here, {TARGET_CONFIGS} refers to /home/wso2carbon/wso2ei-6.4.0/wso2/msf4j/conf folder of the container.
Multiple product profile Docker images based on different base operating systems are available.
wso2ei-msf4j:{version}Ubuntu 18.04 LTS based Docker image with AdoptOpenJDK 8 pre-installed has been used as the https://github.com/AdoptOpenJDK/openjdk-docker/blob/master/8/jdk/ubuntu/Dockerfile.hotspot.releases.full.
MSF4J profile of WSO2 Enterprise Integrator has been installed on top of this Docker image.
wso2ei-msf4j:{version}-alpineAlpine based Docker image with AdoptOpenJDK 8 pre-installed has been used as the https://github.com/AdoptOpenJDK/openjdk-docker/blob/master/8/jdk/alpine/Dockerfile.hotspot.releases.full.
MSF4J profile of WSO2 Enterprise Integrator has been installed on top of this Docker image.
wso2ei-msf4j:{version}-centosCentOS 7 based Docker https://hub.docker.com/_/centos/ has been used. AdoptOpenJDK 8 and MSF4J profile of WSO2 Enterprise Integrator have been installed on top of this Docker image.
View https://github.com/wso2/product-ei/blob/master/distribution/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.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务