ops
ops copied to clipboard
ops - build and run nanos unikernels
ops implicitly disables hardware acceleration when the '-d' flag is specified, yet there are still legitimate uses for running remote gdb with acceleration enabled. For example, it is still possible...
it'd be nice to be able to dynamically configure various variables in stock configs w/out having to touch a potentially large config (eg: adjusting ports in jvm) https://github.com/nanovms/nanos/issues/1032
I have been constantly building and deploying my application and tried creating a volume at some point ``` ops volume create vlm-data -s 10g -c config.json -z us-west2-a -t gcp...
at least 2 of these can be stubbed and the other can be stubbed diff as well ``` func TestGetPkgCommand(t *testing.T) { getPkgCmd := cmd.PackageCommands() getPkgCmd.SetArgs([]string{"get", "eyberg/bind:9.13.4"}) err := getPkgCmd.Execute()...
tests like TestListPkgCommand don't need to spit out the volume of pkgs to stdout and can be just a pass/fail
Hello! Recently I'm encapsulating a P2P application with nanovms. However, I met a problem as follows: ``` qi@qi-HP-Pavilion-Notebook:~/bdledger$ ops run -c config2.json -p 2416 -p 2401 bdledger booting /home/qi/.ops/images/bdledger.img ......
``` panic: interface conversion: interface {} is string, not map[string]interface {} goroutine 1 [running]: github.com/nanovms/ops/fs.(*Manifest).AddFileTo(0xc00011c120, 0xc00011c0f0, 0xc000250390, 0x17, 0xc00024c000, 0x49, 0x0, 0x0) /home/arknable/Development/Project/nanovms/ops/fs/manifest.go:335 +0x867 github.com/nanovms/ops/fs.(*Manifest).AddFile(...) /home/arknable/Development/Project/nanovms/ops/fs/manifest.go:322 github.com/nanovms/ops/lepton.addMappedFiles.func1(0xc00024c000, 0x49, 0x2840300, 0xc0000d7520,...
ops currently gives a very un-helpful error msg if it can't find a library that it is trying to load ``` ➜ l ops run test panic: failed building manifest:...
Environment: CPU: M1 Pro OS: MacOS Moneterey 12.2.1 (21D62) MEM: 16 GB ❯ ops profile Ops version: 0.1.30 Nanos version: 0.1.38 Qemu version: 5.2.0 Arch: darwin Virtualized: false Reproduce: ```...