Rocket 0.15.0 发布,支持 Go 1.5
Rocket (也叫 rkt)是 CoreOS 推出的一款容器引擎,和 Docker 类似,帮助开发者打包应用和依赖包到可移植容器中,简化搭环境等部署工作。Rocket 和 Docker 不同的地方在于,Rocket 没有 Docker 那些为企业用户提供的“友好功能”,比如云服务加速工具、集群系统等。反过来说,Rocket 想做的,是一个更纯粹的业界标准。
CoreOS 把它的容器称为 App Containers,里面包含 app container image、runtime、container-discovery 协议等。其中,App Container Image 和 Docker 里的 Image 比较类似,包含应用必需的元素组成,如源代码和二进制文件。Rocket runtime 则是依照 App Container 标准规格打造的,旨在将容器真正的变成一款命令行工具。
rkt v0.15.0 是个增长版本,包括 UX 改进,bug 修复,API 服务增强和对 Go 1.5 的支持。
新特性和 UX 改进:
-
Images can now be deleted from the store by both ID and name (#1866). See rkt's rkt image rm documentation.
-
The journals of rkt pods can now be accessed by members of the Unix group rkt (#1877). See rkt's journalctl -M documentation.
文档改进:
-
Mention rkt integration in Nomad (#1884).
-
Document how to start the api service and add a program example explaining how the api service can be used to integrate rkt with other programs (#1915).
API 服务
-
Programs using rkt's API service are now provided with the size of the images stored in rkt's store (#1916).
-
Programs using rkt's API service are now provided with any annotations found in the image manifest and pod manifest (#1924).
-
Fix a panic in the API service by making the store database thread-safe (#1892) and by refactoring the API service functions to get the pod state (#1893).
构建改进:
-
Add support for building rkt with Go 1.5, which is now the preferred version. rkt can still be built with Go 1.4 as best effort (#1907). As part of the move to Go 1.5, rkt now has a godep-save script to support Go 1.5 (#1857).
-
Continuous Integration on Travis now builds with both Go 1.4.2 and Go 1.5.2. Go 1.4.3 is avoided to workaround recent problems with go vet (#1941).
Bug 修复:
-
Fix regression issue when downloading image signatures from quay.io (#1909).
-
Properly cleanup the tap network interface that were not cleaned up in some error cases when using the kvm stage1 (#1921).
-
Fix a bug in the 9p filesystem used by the kvm stage1 that were preventingapt-getfrom working propertly (#1918).