websphere的docker环境搭建

2018-05-16  本文已影响325人  梨捉阳笆

参考镜像

https://hub.docker.com/r/amanly/websphere_8_5_5/

执行如下命令拉动websphere的镜像到本地


docker pull amanly/websphere_8_5_5

查看已安装镜像:


docker images


amanly/websphere_8_5_5        latest              364745c3090e        2 years ago         3.041 GB

启动websphere的docker容器:


docker run -i -t -p 28000:28000 -p 28001:28001 -v /Users/lihongjun/Documents/incoming/websphere:/tmpfromhost amanly/websphere_8_5_5 bash

查看运行的容器

docker ps


CONTAINER ID        IMAGE                    COMMAND             CREATED             STATUS              PORTS                                  NAMES

83f2d9a7148c        amanly/websphere_8_5_5   "bash"              4 days ago          Up 2 days           0.0.0.0:28000-28001->28000-28001/tcp   pensive_turing

启动WAS


docker exec -it pensive_turing  bash


cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/

./startManager.sh
cd ../../AppSrv01/bin/
./startNode.sh

启动结果


./startManager.sh

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/dmgr/startServer.log

ADMU0128I: Starting tool with the Dmgr01 profile

ADMU3100I: Reading configuration for server: dmgr

ADMU3200I: Server launched. Waiting for initialization status.

ADMU3000I: Server dmgr open for e-business; process id is 142


./startNode.sh

ADMU0116I: Tool information is being logged in file

           /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/nodeagent/startServer.log

ADMU0128I: Starting tool with the AppSrv01 profile

ADMU3100I: Reading configuration for server: nodeagent

ADMU3200I: Server launched. Waiting for initialization status.

ADMU3000I: Server nodeagent open for e-business; process id is 552

登录WAS控制台

http://localhost:28000/ibm/console

上一篇 下一篇

猜你喜欢

热点阅读