- 博客(3)
- 收藏
- 关注
原创 go语言单元
用到的组件TestingGoconveyGoStub自带的testinggo test会自动执行xxx_test.go中的Testxxx的函数如a_test.go中的func Testxxx(t *testing.T) {}Goconvey用Convey来创建测试用例如Convey(“Test xxxx function”, t, func() {…})在C...
2018-11-06 17:36:48
483
原创 docker镜像格式
导出镜像docker save -o xxx.tar image1 image2 ….imagen 解压tar包之后,有下面一些文件manifesttype manifestItem struct { Config string RepoTags []string Layers []string Parent ...
2018-08-23 11:07:21
5715
1
原创 clair容器镜像工作流程
clair工作主要包括layers,vulnerabilities, fix的操作过程提交layer,把name、path和认证提交上去,clair服务器,根据header和path把layer下载下来,clair服务端把镜像层下载下来,解压后。detectContentfiles, err := imagefmt.Extract(imageFormat, path, ...
2018-08-22 19:08:28
834
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人