Hello ,
whenever I create a container from my image it should execute a jar file. I kept the below command
CMD nohup /app/jdk/jdk1.8.0_66/bin/java -Xms2048m -Xmx2048m -XX:NewSize=384m -XX:MaxNewSize=384m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:ParallelGCThreads=12 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -verbose:gc -jar /app/web-service.jar $> /log/startup.log 2>&1
But is not executing as expected.
I am unable to find the right syntax to do this . appreciate your help.