docker工websphere不能得到pipe理控制台

我在Docker上运行WebSphere。 当我公开端口9080时,我可以得到“Welcome to Liberty”页面( http:// localhost:9080 )。

docker run -d -e LICENSE=accept -p 9080:9080 docker.io/websphere-liberty 

容器编号:1d1eb3db6b03
IMAGE:docker.io/websphere-liberty
命令: “/select/ IBM / WLP /斌/ SER”
创build:17秒前
状态:最多15秒
端口:9443 / tcp,0.0.0.0:9080-> 9080/tcp
名字:naughty_ritchie

这是问题。 当我公开端口9060.我无法获得pipe理控制台页面( http:// localhost:9060 / admin )。 有什么build议么?

 docker run -d -e LICENSE=accept -p 9060:9060 docker.io/websphere-liberty 

容器编号:8d9cc97d2656
IMAGE:docker.io/websphere-liberty
命令: “/select/ IBM / WLP /斌/ SER”
创build:4分钟前
状态:最多4分钟
端口:9080 / tcp,9443 / tcp,0.0.0.0:9060-> 9060/tcp
产品名称:thirsty_hodgkin

根据您的URL和端口,您试图访问WebSphere Liberty Profile服务器上的WebSphere“传统”pipe理控制台。 如果您需要UI,请查看pipe理中心function:

https://www.ibm.com/support/knowledgecenter/SSD28V_8.5.5/com.ibm.websphere.wlp.nd.doc/ae/twlp_ui.html

您还需要为正常操作和pipe理中心本身公开更多端口。

  1. 使用adminCenter创build映像FROM websphere-liberty RUN installUtility install adminCenter-1.0 --acceptLicense COPY server.xml /opt/ibm/wlp/usr/servers/defaultServer/ ENV LICENSE accept EXPOSE 80 9080 9448 9443 9060

  2. 在server.xml中,将adminCenter-1.0放在featuremanager的function中。 `