简体   繁体   English

docker容器上的websphere自由

[英]websphere liberty on docker container


I'm running a docker container by the image websphere-liberty:webProfile7. 我正在通过图像websphere-liberty:webProfile7运行一个Docker容器。 I've installed adminCenter, modified the server.xml of defaultServer as shown at https://developer.ibm.com/wasdev/downloads/#asset/features-com.ibm.websphere.appserver.adminCenter-1.0 then restarted the server, but I continue to can not access the adminCenter or the login page. 我已经安装了adminCenter,修改了defaultServer的server.xml,如https://developer.ibm.com/wasdev/downloads/#asset/features-com.ibm.websphere.appserver.adminCenter-1.0所示,然后重新启动了服务器,但我仍然无法访问adminCenter或登录页面。 When i go on my 192.168.99.100:80/admincenter I see a websphere page tha says me "Context Root Not Found". 当我进入192.168.99.100:80/admincenter时,我看到一个Websphere页面,说我“找不到上下文根”。
What's the problem? 有什么问题?

Did you modify the port to set it to 80? 您是否修改了端口以将其设置为80? Default http port is 9080 and https is 9443, so if you haven't changed them you want either http://192.168.99.100:9080/adminCenter or https://192.168.99.100:9443/adminCenter Also, note that the context root is 'adminCenter' (camelCase) and not 'admincenter' 默认的http端口是9080,而https是9443,因此,如果您没有更改它们,则需要http://192.168.99.100:9080/adminCenterhttps://192.168.99.100:9443/adminCenter根目录是“ adminCenter”(camelCase),而不是“ admincenter”

You can also go to http://{hostname}:{httpPort} or https://{hostname}:{httpsPort} which should show the Liberty splash page. 您也可以转到http:// {hostname}:{httpPort}或https:// {hostname}:{httpsPort},其中应显示Liberty启动页面。 If Admin Center is installed (and a connection to wasdev.net is available from your machine) there should be a link to it ("Open Admin Center"). 如果安装了Admin Center(并且可以从您的计算机连接到wasdev.net),则应该有一个链接(“ Open Admin Center”)。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM