2018-09-12 04:07:08 +08:00
|
|
|
# Nanovms Command Line Interface
|
|
|
|
|
2018-09-15 06:44:02 +08:00
|
|
|
[![CircleCI](https://circleci.com/gh/nanovms/nvm.svg?style=svg)](https://circleci.com/gh/nanovms/nvm)
|
|
|
|
|
2018-09-12 04:07:08 +08:00
|
|
|
Interactive command line interface for interacting with Nanovms Unikernel.
|
|
|
|
|
|
|
|
# Building
|
2018-09-13 02:36:59 +08:00
|
|
|
1. Clone the repository.
|
|
|
|
2. Install dependencies:
|
|
|
|
- `make deps`
|
|
|
|
3. Build
|
|
|
|
- `make build`
|
2018-09-22 01:02:46 +08:00
|
|
|
# Setup networking
|
|
|
|
## bridge network
|
|
|
|
`sudo nvm net setup`
|
|
|
|
## reset
|
2018-09-18 01:29:07 +08:00
|
|
|
`sudo nvm net reset`
|
2018-09-22 01:02:46 +08:00
|
|
|
# Build a bootable image
|
|
|
|
`nvm build <ELFBinary>`
|
|
|
|
# Package and run
|
|
|
|
nvm run <ELFBinary>
|
|
|
|
OR
|
|
|
|
nvm run -p <port> <ELFBinary>
|