Public Repository

Last pushed: a year ago
Short Description
Reposition for running Jolie programs in a container.
Full Description

Reposition for running Jolie programs in a container

How to run your Jolie programs in your container:

docker run -v <path to your program>:/home/jolie:ro --expose <port number> -dt ezbob/jolie <your program>

This command will run your program in detached mode. Replace "path to your program" with the path to your program (excluding the program name), the "port number" with the input port number to your program and "your program" with the program to run.

To find the ip address of the container use:

docker inspect <container name> | grep "IPAddress"

Use this ip address to send messages to the Jolie program running inside the container. Container name can be found with:

docker ps

Docker Pull Command
Owner
ezbob

Comments (0)