- build
sh build.sh
will generate an executable ./build/gopull,run "./build/gopull help"
- or run
go run main.go help
./gopull download redis
./gopull download redis@sha256:31120dcdd310e9a65cbcadd504f4fe60a185bd634ab7c6a35e3e44a941904d97
./gopull download -l redis
./gopull download -p arm64 redis
./gopull pull redis
# docker导入
docker load -i redis.tar
# ctr导入
ctr image import nginx.tar