orginux / containers-from-scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building a container from scratch in Go

YouTube video

Commands

Create ubuntu root fs in ubuntufs directory:

make ubuntufs

Build binary:

make build

Running

Run this code only inside Virtual Machine;

cp -vr ubuntufs/ /
UBUNTUFS_PATH=/ubuntufs

./conatainer run bash

About


Languages

Language:Go 87.9%Language:Makefile 12.1%