Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.89 KB

install.md

File metadata and controls

51 lines (42 loc) · 1.89 KB

Installing UniK

Prerequisites:


Install

$ git clone https://github.com/solo-io/unik.git
$ cd unik
$ make # or 'make binary'; see the notes below
$ _build/unik
Unik is a tool for compiling application source code
into bootable disk images. Unik also runs and manages unikernel
instances across infrastructures.
...

Note that make will pre-pull a number of large docker containers unik needs in order to run. In order to skip pre-pulling (as you may not require all of these containers), you can replace make with make binary. Note that the first time unik requires a specific docker image, it will pull that image.

This will place the unik executable at unik/_build/unik. Run UniK commands with ./_build/unik, or move the binary to somewhere in your path, such as /usr/local/bin to run commands from anywhere with unik [command]

Continue to configuration to learn how to configure your UniK setup

Building Containers from Source

By default, make will pull all of the necessary container images from Docker Hub. If you wish to build containers from sources, you will need:

$ make containers

Uninstall

unik binary
$ make uninstall
UniK docker containers
$ make remove-containers