在 DockerCon 2017 和 O'Reilly Safari 上看到的那样,只用几行 Go 代码就可以编写一个容器
在 DockerCon 2017 和 O'Reilly Safari 上看到的那样,只用几行 Go 代码就可以编写一个容器
Writing a container in a few lines of Go code, as seen at DockerCon 2017 and on O'Reilly Safari
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.
Note that the Go code uses some syscall definitions that are only available when building with GOOS=linux.
暂无开放 Issues,或尚未同步最近议题。