gaqsoc.blogg.se

Openjdk 7 centos dockerfile
Openjdk 7 centos dockerfile









openjdk 7 centos dockerfile

With every image decision you can also find dozens of spin offs which have different applications pre-installed (such as java). ) and another image which is based of an Alpine image which is an image that is optimized for size really well. One thing a lot of image producers chose to do (at least in the last few months) is to offer one image which is based of a Debian base image so that users that might want to install tools find a familiar toolset (apt. If this is working as intended you should add some additional Docker commands such as EXPOSE for the port(s) your application is running on, VOLUME for directories which contain configurations and/or data and maybe HEALTHCHECK which gives docker the ability to check if the application is still running correctly and act accordingly (like restarting it if it hangs).Īfter you have an running image with the above methods it is then up to you which way to choose to get 'optimal' images (as optimal is relative as we all know). # If you have multiple JARs with libraries or other files needed for release (configs)ĬMD # Add additional options like '-cp' here Something along the following should be a starting point: FROM openjdk:8-jdk At the images Dockerhub page you can find easy steps to get your image running. With this in mind I would start with openjdk:8-jdk (or a tag fitting your Java version which are listed at the images page). After that you can think about choosing a different (e.g. The first step I'd suggest would be making an image that runs. We provide a free 30-day trial so do whatever you want with it. If you want to you can download our software for free from our website and just play around with Dockerfile construction. I know it's not as hard as I making it but at this point, my brain is fried from all the combinations I've tried. My biggest problem continues to arise from trying to piece together various tutorials that each teach a different setup and Dockerfile build scenarios. SymmetricDS is not a true GUI (my fault for the confusion) it is set up to run on a server and then accessed via a browser. We just need a (simple) way to stress test before our next release and ideally submit whatever Docker we end up making as the official build for our SymmetricDS Pro software. What image would you recommend overall for this scenario? We, as a company, have never tried Docker before so I will defer to more experienced minds here in the Reddit community. We have no truly set ideas on what to use.











Openjdk 7 centos dockerfile