(The project is under development.)
Cunik is a solution for easily building, packaging, delivering, fetching, deploying and managing unikernel images over different unikernel implementations like Rumprun, OSv, MirageOS and IncludeOS, which enables people launching unikernel applications by several command lines.
Read more about Cunik here.
These instructions will get you running Cunik Engine and a Cunik-nginx on your machine.
git clone https://github.com/Cunik/Cunik-engine.git
On Debian, install the following using apt:
- libvirt-daemon-system
- libvirt-dev
pip3 install -r requirements.txt
Cunik intends to load its images and other information from a single folder(/var/cunik
). For now, you need to create it manually: get this, decompress it, and copy or link to /var/cunik
.
A Cunik Engine is a daemon that listens on the host and waits for requests from clients. Now, let's launch the Cunik Engine.
Run the daemon:
python3 engine.py runserver
Actually, we need to be root
to configure network and manage vm. So run the command line above as root
or use sudo
, and use what ever techniques to prevent unexpected damage.
Use Cunik-cli to start a Cunik. Example:
cunik-cli create nginx 10.0.125.3
Don't change 10.0.125
since it is hard-coded for now.
Then curl 10.0.125.3
to see if it works.
Following are the images that you can give it a try:
-
nginx
Runmrun implementation of nginx.
-
redis-server
Rumprun implementation of redis. Test it with
redis-cli -h <address>
. -
redis-server-osv
OSv implementation of reids. Unable to access for now(we are sure it's online(
nmap
-ed it)). We'd be glad if you can help us fix it.
(none)
(none)
The code in this project is licensed under MIT license.