Skip to content

shaded-enmity/docker-tar-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-tar-push

Tool that takes a Tar archive as produced by 'docker save' and uploads it to a V2 registry

Get / Build

$ git clone https://github.com/shaded-enmity/docker-tar-push
$ cd docker-tar-push/

# build docker-tar-push itself
$ go build

# build genkey
$ cd genkey/
$ go build

Example usage

Generating a private key for signing (defaulting to ECDSA/256):

$ genkey/genkey > secret.json

Pushing image:

# retag poiting to a local V2 registry
$ docker tag busybox:latest 127.0.0.1:5000/library/busybox:latest
$ docker save -o busybox.tar 127.0.0.1:5000/library/busybox:latest
$ docker-tar-push -k secret.json busybox.tar
Done! Referencing digest: sha256:84f1ac57c826706a1a9dcd486aaa161ecaa48295f46e71dd400d58ad9ce0d341

About

Tool that takes a Tar archive as produced by 'docker save' and uploads it to a V2 registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages