Thursday, August 21, 2025

docker

docker build -t eapsaw:1.0 . (create and upload image to local docker)

docker run -p 8080:8080 -p 9990:9990 eapsaw:1.0  (create docker contain and run image with mapping port 8080 9990)

when you run jboss, make sure in standalone.xml, you set public interface to 0.0.0.0 to accept all ips.

 <interfaces>

        <interface name="management">

            <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>

        </interface>

        <interface name="public">

            <inet-address value="${jboss.bind.address:0.0.0.0}"/>

        </interface>

    </interfaces>


wsl --shutdown (terminate docker)

servicesRestart-Service -Name "Winmgmt" -Force

restart docker desktop (lanuch app)

No comments:

Post a Comment