JRebel with Docker – VM fails to start

ZeroTurnaround Homepage Forums JRebel Support JRebel with Docker – VM fails to start


This topic contains 0 replies, has 1 voice, and was last updated by  janfh 11 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #62526


    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

    My environment:
    Windows 10
    IntelliJ 2017.1 Ultimate with Docker Integration plugin
    Docker CE for windows 17.03.1

    FROM frolvlad/alpine-oraclejdk8:slim
    ARG jarfile=raavare-search.jar
    VOLUME /tmp
    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 :)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.