JRebel with Docker – VM fails to start

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

Tagged: 

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

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

    janfh
    Member

    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:
    https://manuals.zeroturnaround.com/jrebel/remoteserver/docker.html

    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

    Dockerfile:
    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.