Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lizrice/containers-from-scratch

Writing a container in a few lines of Go code, as seen at DockerCon 2017 and on O'Reilly Safari
https://github.com/lizrice/containers-from-scratch

cgroups containers go golang namespaces

Last synced: 14 days ago
JSON representation

Writing a container in a few lines of Go code, as seen at DockerCon 2017 and on O'Reilly Safari

Awesome Lists containing this project

README

        

# containers-from-scratch
Writing a container in a few lines of Go code, as seen at [DockerCon 2017](https://www.youtube.com/watch?v=MHv6cWjvQjM&t=1316s) and on [O'Reilly Safari](https://www.safaribooksonline.com/library/view/how-to-containerize/9781491982310/)

You need root permissions for this version to work. Or you can adapt it to be a rootless container by as shown in [these slides](https://speakerdeck.com/lizrice/rootless-containers-from-scratch).

Note that the Go code uses some syscall definitions that are only available when building with GOOS=linux.