Hi,
I have an ear file that I want to dockerize.
Am using openjdk:8-jre-alpine docker image.
How should I run this ear file in my dockerfile? What should be the command?
Any help would be appreciated.
Share and learn in the Docker community.
Hi,
I have an ear file that I want to dockerize.
Am using openjdk:8-jre-alpine docker image.
How should I run this ear file in my dockerfile? What should be the command?
Any help would be appreciated.
what would you do normally as a single program?
if you
docker inspect alpine_image
you will see the cmd and entrypoint it provides, this is the SINGLE application running in the container.
that might tell you where the ear file should go, and how to configure it… also see the doc for the image u selected