https://github.com/azrubael/230827-go-scratch
Learning containerization technology and resource isolation
https://github.com/azrubael/230827-go-scratch
Last synced: 8 months ago
JSON representation
Learning containerization technology and resource isolation
- Host: GitHub
- URL: https://github.com/azrubael/230827-go-scratch
- Owner: Azrubael
- Created: 2023-08-27T13:56:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-27T15:52:00.000Z (almost 3 years ago)
- Last Synced: 2025-02-15T10:32:17.670Z (over 1 year ago)
- Language: Ruby
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.