mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-05 17:02:00 +00:00
miragesdk: improve dev README
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
This commit is contained in:
@@ -1,7 +1,23 @@
|
|||||||
## DHCP client using MirageOS
|
### SDK
|
||||||
|
|
||||||
To debug/build, the `enter-dev` target will create a dev container where
|
To build and test the SDK, run:
|
||||||
`make dev` will build and run the current state of the prototype:
|
|
||||||
|
```
|
||||||
|
$ make test
|
||||||
|
```
|
||||||
|
|
||||||
|
This will work on any OS.
|
||||||
|
|
||||||
|
### DHCP client using MirageOS
|
||||||
|
|
||||||
|
To build the MirageOS DHCP client, run:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ make dev
|
||||||
|
```
|
||||||
|
|
||||||
|
As this is using some BPF runes, this will work only on Linux. To debug/build
|
||||||
|
on OSX, you can create a container and build from there:
|
||||||
|
|
||||||
```
|
```
|
||||||
make enter-dev
|
make enter-dev
|
||||||
@@ -11,4 +27,4 @@ make dev
|
|||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
See the [general architecture document](../../doc/unikernel.md).
|
See the [general architecture document](../../doc/unikernel.md).
|
||||||
|
Reference in New Issue
Block a user