You can use Ops extension to manage your local unikernels in Visual Studio Code. Access the marketplace to download or search for ops in Visual Studio Code extension explorer.
Use the shorcut ctrl+shift+P
or cmd+shift+P
to open the commands pallete and select one of the next commands.
Command | Description |
---|---|
Ops: Run | Allows to select an elf or javascript file from the filesystem and launch the program on an unikernel. |
Ops: Stop | Allows to select a running unikernel and stops the execution. |
Ops: Run open file | Launches an unikernel with the file that is opened in the editor. Currently, this command only supports javascript files. |
Ops: Build | Allows to select an elf file or javscript file and prepares a nanos image to run the program. |