- Docker installed and running (Docker machine and Docker for Mac are supported)
- Virtualbox (if using the virtualbox provider)
$ 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. ...
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 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
configuration to learn how to configure your UniK setupContinue to
Building Containers from Source
make will pull all of the necessary container images from Docker Hub.
If you wish to build containers from sources, you will need:
- Golang v1.5 or later
$GOPATHshould be set and
$GOPATH/binshould be part of your
- Apache Maven
goare installed, and your
$GOPATHis set correctly. Then simply:
$ make containers
$ make uninstall
UniK docker containers
$ make remove-containers