One way is to use REST api to get file from OSv. Just add httpserver-api module to your image.
Waldek
--
You received this message because you are subscribed to a topic in the Google Groups "OSv Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osv-dev/1d_ZRZmn4P8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The problem is that the two instances run on a separate network and I do not understand how to reach them from the outside...The startup command is this:first instance: capstan run -n "bridge" -e "--ip=eth0,10.0.0.2,255.255.255.0 --defaultgw=10.0.0.1 --nameserver=10.0.0.1 /java.so -jar /my.jar"second instance: capstan run -n "bridge" -e "--ip=eth0,10.0.0.3,255.255.255.0 --defaultgw=10.0.0.1 --nameserver=10.0.0.1 /java.so -jar /my.jar"And the Capstanfile is this:base: cloudius/osv-openjdk8cmdline: /java.sofiles:/my.jar: my.jarThe problem is that I cannot reach the IP 10.0.0.2 o 10.0.0.3 from the outside.regardsr
Hi,
Hi,
You can easily do this with newest mikelangelo capstan using compose-family-of-commands (https://github.com/mikelangelo-project/capstan/blob/master/Documentation/generated/CLI.md#working-with-application-packages - ala docker compose).
My sense is that your are using old capstan with Capstan file. Which version of OSv is displayed when running it?
As I mentioned in my other email I would strongly suggest using new capstan. Also new package mode vs Capstanfile.
Lastly see this docket project for many examples of apps built using new capstan - https://github.com/wkozaczuk/docker_osv_runner. Look for require section in package.yaml in this example - https://github.com/wkozaczuk/docker_osv_runner/blob/7eb359addb9cd1ff5af18e2d0ac9c4c4fc9d2a29/apps/ffmpeg/meta/package.yaml.
thanks you so much Waldek you helped me a lot
r.