Skip to content

FMU-proxy to run FMUs in Docker containers #132

Answered by markaren
Ju-Ru asked this question in Q&A
Discussion options

You must be logged in to vote

I don't use docker, but all you have to do is to copy paste the fmu-proxy-booter executable into the container.

The docker container also needs a JDK:
JAVA_HOME should point to a JDK8+ installation.
%JAVA_HOME%\jre\bin\server must be added to PATH.

Basically:

  1. Clone the project
  2. Run ./gradlew build
  3. Run fmu-proxy-booter (located in fmu-proxy-booter/build/install) in the container supplied with an open port.
  4. Run fmu-proxify located under fmu-proxify/build/install on the target FMU. Supply the remoteAddress. I.e. IP of the container and port used by the booter.
  5. Load the proxified FMU in any FMI 2.0 compatible tool.

The README should cover this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ju-Ru
Comment options

Answer selected by Ju-Ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants