https://stackoverflow.com/questions/25436742/how-to-delete-images-from-a-private-docker-registry
如果我们只是删除某一个tag,是不会直接删除物理镜像的。
简单来说:
第一步,确保配置里面允许删除
/etc/docker/registry/config.yml
delete:
enabled: true
第二步,直接调用删除脚本
https://github[......]
https://stackoverflow.com/questions/25436742/how-to-delete-images-from-a-private-docker-registry
如果我们只是删除某一个tag,是不会直接删除物理镜像的。
简单来说:
第一步,确保配置里面允许删除
/etc/docker/registry/config.yml
delete:
enabled: true
第二步,直接调用删除脚本
https://github[......]
cd(持续部署)是非常好的软件研发实践。
本文介绍如果通过jenkins(和一些插件) + docker实现java项目的持续部署(cd)。
在教程开始前先说几个背景:
maven学习手记+nexus配置+更换中央仓库为阿里云仓库[......]
http://m.blog.chinaunix.net/uid-15790905-id-5169813.html
http://m.blog.chinaunix.net/uid-15790905-id-5169820.html
http://m.blog.chinaunix.net/uid-15790905-id-5169832.html
http://m.blog.chinaunix.net/uid-15790905-id-5169992.html
http://h2o[......]
首先说明一点的是,我这里使用的是gerrit的docker镜像。如果你是自己安装的,可能部分路径位置需要做一些改变。
1、github项目导入到gerrit
备注:从github到gerrit,我这里的需求只是导入,并没有实时同步。
在github创建一个repo,例如replication-demo
git clone git@github.com:liheyuan/replication-demo.git
在gerrit创建一个项目,注意保持同样的名字(非比选)和空提交[......]