cd ~
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
# add to ~/.bashrc
GIT_PROMPT_ONLY_IN_REPO=1
source ~/.bash-git-prompt/gitprompt.sh
[......]
cd ~
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
# add to ~/.bashrc
GIT_PROMPT_ONLY_IN_REPO=1
source ~/.bash-git-prompt/gitprompt.sh
[......]
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配置+更换中央仓库为阿里云仓库[......]