Categorygithub.com/DockerContainerService/image-save
modulepackage
0.0.0-20240124083054-b4c4342a6478
Repository: https://github.com/dockercontainerservice/image-save.git
Documentation: pkg.go.dev

# README

image-save

architecture os go-report contributors size languages file used-by license release download last-release

Features

  • Support save docker image to local independent of docker daemon
  • Support for reading registry passwords in environment variables REGISTRY_PASSWORD
  • Support multithreading layer download
  • Support the use of registry mirror

Usage

Install image-save

you can download the latest binary release here

Install from source

go get github.com/DockerContainerService/image-save
cd ${GOPATH}/github.com/DockerContainerService/image-save
make all

Get usage information

[root@tencent ~]# ./imsave -h
Save docker image to local without docker daemon
        Complete documentation is available at https://github.com/DockerContainerService/image-save

Usage:
  imsave [image] [flags]

Flags:
      --arch string     the architecture of the image you want to save
  -d, --debug           enable debug mode
  -h, --help            help for imsave
  -i, --insecure        whether the registry is using http
  -m, --mirror string   use a mirror repository
      --os string       the osFilter of the image you want to save
  -o, --output string   output file
  -p, --passwd string   password of the registry
  -u, --user string     username of the registry
  -v, --version         version for imsave

Usage example

[root@tencent ~]# ./imsave alpine
Using default tag: latest
Using architecture: amd64
[f56be85fc22e]  ... done! [3.37MB in 2.913s; 1.13MB/s]
Output file: alpine_latest.tgz

Star History

Star History Chart

# Packages

No description provided by the author
No description provided by the author