Don't have an account yet?
Register on our site.
ZeroTurnaround Homepage › Forums › JRebel Support › JRebel with Docker – VM fails to start
Tagged: jrebel docker
This topic contains 0 replies, has 1 voice, and was last updated by janfh 11 months ago.
Hi. I’m trying to load the JRebel agent with a simple Spring Boot application running in a Docker container. Everything is working without the JRebel agent.
I have been looking at these instructions:
Have tried both latest stable and nightly build downloaded from zeroturnaround.com
IntelliJ 2017.1 Ultimate with Docker Integration plugin
Docker CE for windows 17.03.1
ADD $jarfile app.jar
RUN sh -c ‘touch /app.jar’
ADD jrebel.jar /jrebel.jar
ADD libjrebel64.so /libjrebel64.so
ENTRYPOINT [ “sh”, “-c”, “java -agentpath:/libjrebel64.so -Drebel.remoting_plugin=true -jar /app.jar” ]
(image builds without errors and container and app is working by removing JRebel/agentpath)
When starting the container the log outputs this single line:
“Error occurred during initialization of VM”
Any help or suggestions is appreciated :)
You must be logged in to reply to this topic.