Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 599 Bytes

File metadata and controls

15 lines (14 loc) · 599 Bytes

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