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 支持将 Python、Node.js 和 Go 代码编译成 rumprun unikernels

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

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

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

Principles of Object-Oriented JavaScript

Principles of Object-Oriented JavaScript

Nicholas C. Zakas / No Starch Press / 2014-2 / USD 24.95

If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to defin......一起来看看 《Principles of Object-Oriented JavaScript》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

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

在线压缩/解压 CSS 代码

在线进制转换器
在线进制转换器

各进制数互转换器