Skip to content

AppliNH/go-iamcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go I am Container

Example of a container made from scratch with Go.

Rootfs you can use

Have look here :)

Run

After downloading the root file system of your choice, extract it to ./rootfs and modify this line of code to target it :

syscall.Chroot("./rootfs/alpine")

Then, you can run :

sudo go run main.go run <command> <args> <opts>

You can try

sudo go run main.go run /bin/ls for example.

About

A container example using go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages