Unikernel 编译和部署平台 UniK

码农软件 · 软件分类 · 项目构建 · 2019-11-15 17:28:13

软件介绍

UniK(发音 you-neek)是一款可将应用程序源编译成 unikernels(轻量级的可启动磁盘镜像),而不是编译成二进制文件的工具。

UniK 利用一个简单的 docker-like 命令行接口,使得构建 unikernels 像构建 containers 一样容易。

UniK 是为了易于扩展而构建的,允许(且鼓励)为 unikernel 编译器和云计算提供器添加支持。

文档

安装UniK

安装条件:

  • 已安装的 Docker 和至少 8GB 的可用空间用于构建镜像的运行

  • jq

  • make

  • Virtualbox (如果使用 virtualbox 提供器)

安装:

$ git clone https://github.com/emc-advanced-dev/unik.git
$ cd unik
$ make
$ _build/unik
Unik is a tool for compiling application source code
into bootable disk images. Unik also runs and manages unikernel
instances across infrastructures.
...

这将把 unik 放置到 unik/_build/unik 执行,通过 ./_build/unik 运行 UniK 命令,或将二进制移动到你路径的某个地方,例如 /usr/local/bin 用于随处使用 unik [command] 运行命令。

从源代码构建 Containers

默认情况下,make 会从 Docker Hub 获取所有必要的 container 镜像,如果你想从源代码构建 Containers,你将需要:

$ make containers

卸载

unik binary

$ make uninstall

UniK docker containers

$ make remove-containers

支持的 unikernel 类型

rump:UniK 支持将 PythonNode.jsGo 代码编译成 rumprun unikernels

OSv:UniK 支持将 Java 代码编译成 OSv unikernels

IncludeOS:UniK 支持将 C++ 代码 编译成 IncludeOS unikernels

本文地址:https://codercto.com/soft/d/19058.html

Learn Python the Hard Way

Learn Python the Hard Way

Zed A. Shaw / Addison-Wesley Professional / 2013-10-11 / USD 39.99

Master Python and become a programmer-even if you never thought you could! This breakthrough book and CD can help practically anyone get started in programming. It's called "The Hard Way," but it's re......一起来看看 《Learn Python the Hard Way》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具