I use the QEMU hypervisor.

The problem is that in the Capstanfile the "base:" is
"cloudius/osv-openjdk8" and I do not understand how add another base image
like "httpserver" or "cloudius/osv" to activate the REST services.

Any suggestion?

regards

r

Il giorno lun 11 mar 2019 alle ore 14:38 Waldek Kozaczuk <
[email protected]> ha scritto:

> Adding -f "10022:22" should expose the port to the host. Which hypervisor
> are you running it on - QEMU/KVM, VirtualBox, VMWare, Xen?
>
> Waldek
>
> On Monday, March 11, 2019 at 7:01:50 AM UTC-4, robertob wrote:
>>
>> Any advice?
>>
>> regards
>>
>> Il giorno venerdì 8 marzo 2019 14:53:45 UTC+1, robertob ha scritto:
>>>
>>> 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 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.

Reply via email to