{"id":7242,"date":"2018-03-06T12:10:32","date_gmt":"2018-03-06T04:10:32","guid":{"rendered":"http:\/\/rmohan.com\/?p=7242"},"modified":"2018-03-06T12:10:32","modified_gmt":"2018-03-06T04:10:32","slug":"docker-webshpere","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7242","title":{"rendered":"Docker Webshpere"},"content":{"rendered":"<p>Docker Webshpere<\/p>\n<p>Step 1 docker websphere<br \/>\n1. docker pull\u00a0 ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>2. docker run &#8211;name websphere -h test -e UPDATE_HOSTNAME=true -p 9043:9043 -p 9443:9443 -d ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>3. docker exec websphere cat \/tmp\/PASSWORD<\/p>\n<p>4. docker run &#8211;name test -h test -v $(pwd)\/PASSWORD:\/tmp\/PASSWORD\u00a0 -p 9045:9043 -p 9445:9443 -d ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>5.websphere?\u00a0\u00a0\u00a0 https:\/\/172.10.21.30:9043\/ibm\/console\/login.do?action=secure<\/p>\n<p>Install image<\/p>\n<p>The ibmcom\/websphere-traditional:install Docker image contains IBM WebSphere Application Server traditional for Developers and can be started by:<br \/>\n1.Running the image using default values:docker run &#8211;name test -h test -p 9043:9043 -p 9443:9443 -d \\<br \/>\nibmcom\/websphere-traditional:install<\/p>\n<p>2.Running the image by passing values for the environment variables:docker run &#8211;name test -h test -e HOST_NAME=test -p 9043:9043 -p 9443:9443 -d \\<br \/>\n-e PROFILE_NAME=AppSrv02 -e CELL_NAME=DefaultCell02 -e NODE_NAME=DefaultNode02 \\<br \/>\nibmcom\/websphere-traditional:install<\/p>\n<p>\u2022PROFILE_NAME (optional, default is &#8216;AppSrv01&#8217;)<br \/>\n\u2022CELL_NAME (optional, default is &#8216;DefaultCell01&#8217;)<br \/>\n\u2022NODE_NAME (optional, default is &#8216;DefaultNode01&#8217;)<br \/>\n\u2022HOST_NAME (optional, default is &#8216;localhost&#8217;)<\/p>\n<p>Profile image<\/p>\n<p>The ibmcom\/websphere-traditional:profile Docker image contains IBM WebSphere Application Server traditional for Developers with the profile already created and can be started by:<br \/>\n1.Running the image using default values:docker run &#8211;name test -h test -p 9043:9043 -p 9443:9443 -d \\<br \/>\nibmcom\/websphere-traditional:profile<\/p>\n<p>2.Running the image by passing values for the environment variables:docker run &#8211;name test -h test -e UPDATE_HOSTNAME=true -p 9043:9043 -p 9443:9443 -d \\<br \/>\nibmcom\/websphere-traditional:profile<\/p>\n<p>\u2022UPDATE_HOSTNAME (optional, set to &#8216;true&#8217; if the hostname should be updated from the default of &#8216;localhost&#8217; to match the hostname allocated at runtime)<\/p>\n<p>Admin console<\/p>\n<p>In both cases a secure profile is created with an admin user ID of wsadmin and a generated password. The generated password can be retrieved from the container using the following command:<br \/>\ndocker exec test cat \/tmp\/PASSWORD<\/p>\n<p>It is also possible to specify a password when the container is run by mounting a file containing the password to \/tmp\/PASSWORD. For example:<br \/>\ndocker run &#8211;name test -h test -v $(pwd)\/PASSWORD:\/tmp\/PASSWORD \\<br \/>\n-p 9043:9043 -p 9443:9443 -d ibmcom\/websphere-traditional:install<\/p>\n<p>Once the server has started, you can access the admin console at https:\/\/localhost:9043\/ibm\/console\/login.do?action=secure. If you are running in Docker Toolbox, use the value returned by docker-machine ip instead of localhost.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker Webshpere<\/p>\n<p>Step 1 docker websphere 1. docker pull ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>2. docker run &#8211;name websphere -h test -e UPDATE_HOSTNAME=true -p 9043:9043 -p 9443:9443 -d ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>3. docker exec websphere cat \/tmp\/PASSWORD<\/p>\n<p>4. docker run &#8211;name test -h test -v $(pwd)\/PASSWORD:\/tmp\/PASSWORD -p 9045:9043 -p 9445:9443 -d ibmcom\/websphere-traditional:8.5.5.12-profile<\/p>\n<p>5.websphere? https:\/\/172.10.21.30:9043\/ibm\/console\/login.do?action=secure<\/p>\n<p>Install image<\/p>\n<p>The ibmcom\/websphere-traditional:install Docker image contains [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7242"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7242"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7242\/revisions"}],"predecessor-version":[{"id":7243,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7242\/revisions\/7243"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}