How to DOCKER BUILD/Run PAYARA JAVA EE SERVER
docker search payara
docker pull payara/server-full
To start a new Docker container based on the Payara image we have just downloaded
docker run -it -p 8080:8080 -p 4848:4848 payara/server-full /bin/bash
payara@2bfba3cce362:/opt/payara41/glassfish/bin/asadmin statusRemote server does not listen for requests on [localhost:4848]. Is the server up?
No such local command: status. Unable to access the server to execute the command remotely. Verify the server is available.
Command status failed.
payara@2bfba3cce362:/opt/payara41/glassfish/bin/asadmin start-domain payaradomainWaiting for payaradomain to start .......................
Successfully started the domain : payaradomain
domain Location: /opt/payara41/glassfish/domains/payaradomain
Log File: /opt/payara41/glassfish/domains/payaradomain/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.