WAS: Running WebSphere Application Server as Container: Difference between revisions

From Wiki
(Created page with "= Running DB2 as Container = Create db2data directory # mkdir -p /opt/was/config /opt/was/app Pull images podman pull icr.io/appcafe/websphere-traditional:latest Running Db2 podman run -d --name mywassrv -h was-server -p 9043:9043 -p 9443:9443 \ -v /opt/was/config:/etc/websphere websphere-traditional:latest Cheking Logs podman logs -f mywassrv = Login in WAS Console == First get password podman exec mywassrv cat /tmp/PASSWORD Now access in browser...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Running DB2 as Container =
= Running WAS as Container =


Create db2data directory
Create WAS directory


  # mkdir -p /opt/was/config /opt/was/app  
  # mkdir -p /opt/was/config /opt/was/app  
Line 10: Line 10:
  podman pull icr.io/appcafe/websphere-traditional:latest
  podman pull icr.io/appcafe/websphere-traditional:latest


Running Db2
Running WAS


  podman run -d --name mywassrv -h was-server -p 9043:9043 -p 9443:9443 \
  podman run -d --name mywassrv -h was-server -p 9043:9043 -p 9080:9080 -p 9443:9443 \
  -v /opt/was/config:/etc/websphere websphere-traditional:latest
  -v /opt/was/config:/etc/websphere websphere-traditional:latest


Line 20: Line 20:
  podman logs -f mywassrv
  podman logs -f mywassrv


= Login in WAS Console ==
= Login in WAS Console =


First get password
First get password
Line 36: Line 36:




== Ver também ==  
= Ver também =





Latest revision as of 20:24, 9 November 2023

Running WAS as Container

Create WAS directory

# mkdir -p /opt/was/config /opt/was/app 


Pull images

podman pull icr.io/appcafe/websphere-traditional:latest

Running WAS

podman run -d --name mywassrv -h was-server -p 9043:9043 -p 9080:9080 -p 9443:9443 \
-v /opt/was/config:/etc/websphere websphere-traditional:latest


Cheking Logs

podman logs -f mywassrv

Login in WAS Console

First get password

podman exec mywassrv cat /tmp/PASSWORD

Now access in browser

https://<ip of the server>:9043/admin

To login

  • user: wsadmin
  • password: <from the output of Podman exec>


Ver também