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
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 9443:9443 \

Revision as of 12:44, 10 October 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 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