發表文章

目前顯示的是 五月, 2017的文章

Docker’s LinuxKit

Asyou saw in my recent DockerCon recap post, Docker released two new interesting pieces of software during a weeklong container-rama in Austin, Texas. The Moby Project: is an open source push to advance the software containerization movement by providing a set of components, frameworks, reference assemblies, and place for “container enthusiasts to experiment and exchange ideas.”LinuxKit: a purpose built toolkit that enables engineers to create secure, immutable, and minimal Linux distributions. In this post I’ll show you how to create a mini-OS of your very own, using the magic of the moby tool to create images, and the linuxkit tool for pushing and running VM images. Let’s jump to it. Prerequisites In order to get started, you’re going to need Go and Docker for Macinstalled. I’d recommend just getting the installer for Golang if you’d like to make it easier. Open up a terminal and grab the source code for the linuxkit software. $ git clone https://github.com/linuxkit/linuxkitOption 1: …