Skip to content

minimal code to push single layer image to docker image repository (without docker)

Notifications You must be signed in to change notification settings

tom-code/dockerpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

dockerpush

minimal code to push single layer image to docker image repository (without docker)

  • put your data in tar file then run for example:
go run push.go defs.go -image iname -tag v1 -repo http://192.168.1.51:5000 -tar image.tar
  • for two layer image:
go run push.go defs.go -image iname -tag v1 -repo http://192.168.1.51:5000 -tar image.tar -tar2 alpine.tar

About

minimal code to push single layer image to docker image repository (without docker)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages