mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 15:13:08 +00:00
Use the `with-cdhcpc` branch of charrua-client, which exposes `Dhcp_client_lwt`. Dhcp_client_lwt exposes similar functions to `Dhcp_client_mirage`, but does not impose the structure of a Mirage_types_lwt.ipv4_config on the returned object, rather returning the full lease; the engine can then expose whatever information from the lease it finds to be pertinent. Signed-off-by: Mindy Preston <mindy.preston@docker.com>
SDK
To build and test the SDK, run:
$ 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
# now in the dev container
make dev
Documentation
See the general architecture document.