Hi, I want to launch a java image, and run the following command in the background, like a daemon.
java -Dkms.ws.uri=ws://ipaddress:8888/kurento -Dapp.server.url=http://ipaddress:8089/ -Dserver.port=8089 -jar /root/service/lib/company-group-call.jar &>/dev/null &
So, I try to launch the java docker image in following way, but the image only run once and terminated. I have tried both -ti and -d option in run command.
How could I run a java application like daemon in docker run?