image-save

command module
v0.0.0-...-b4c4342 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL