Open johnrichardrinehart opened 3 years ago
@johnrichardrinehart I do not see build_and_run.sh
in that repo. This is probably most-up-to-date Wiki -
https://github.com/cloudius-systems/capstan/blob/master/Documentation/ApplicationManagement.md - that documents the 'package' mode of creating OSv images.
Here is the simplest example of building an image with node.js example:
capstan package compose --pull-missing --require osv.node-js node-example
capstan run -p qemu -v --execute '/libnode.so' node-example
Agh. I failed to rename. build.sh
builds and runs. It's build_and_run.sh
.
I'll try your instructions tomorrow.
Executing
./build_and_run.sh
in this repo fails to run the built OSv image.It seems that my image is using the information specified in
meta/run.yaml
, since thecapstan package compose
command outputs (among other things)and
meta/run.yaml
looks likebut then
./capstan run demo
seems to run the wrong command, outputting:So, it's not running
/run/myconfig1
.Full
compose
output:Full
./capstan -v run
output: