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-openjdk8 cmdline: /java.so files: /my.jar: my.jar The problem is that I cannot reach the IP 10.0.0.2 o 10.0.0.3 from the outside. regards r Il giorno gio 7 mar 2019 alle ore 19:55 Waldek Kozaczuk < [email protected]> ha scritto: > Hi, > > 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 > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
