Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ctosman/docker-patch

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-patch

install

使用maven package,得到"docker-patch-1.0-SNAPSHOT.jar"

mvn package, you can get "docker-patch-1.0-SNAPSHOT.jar"

Usage

java -jar docker-patch-1.0-SNAPSHOT.jar -d /home/docker-img-v1.tar /home/docker-img-v2.tar

"-d": create a diff between docker-img-v1.tar(absolute path) and docker-img-v2.tar, and generate a patch.

java -jar docker-patch-1.0-SNAPSHOT.jar -m /home/docker-img-v1.tar /home/docker-patch-20220104235120.tar

"-m": you can generate docker-img-v2.tar from docker-img-v1.tar and a patch

About

create a diff between docker_img_A and docker_img_B, and generate a patch.通过比对两个docker镜像的layer,生成一个更新补丁,实现docker镜像的增量发版,无法发布整个镜像。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.