people who move bricks should not yield
- if you want to use
docker manifest
feature, must open it at first - if you want to push image to private register, must
docker login
at first
- download specified binary from release
chmod +x ./goporter-*
mv ./goporter-* /usr/local/bin/goporter
- use it
goporter --config=./config.json
- auto move all images under given manifest
amend means 'docker create manifest A B C --amend'
[
{
"sources": [
{
"addr": "golang:1.17"
}
],
"amend": true,
"auto": true,
"manifest": "registry.self/weilaaa/golang:1.17"
}
]
- general move will lift given specified images into one manifest
[
{
"sources": [
{
"addr": "golang:1.17@sha256:d860e175278037ee2429fecb1150bf10635ff4488c5a6faf695b169bf2c0868f",
"new_tag": "registry.self/weilaaa/golang:1.17-amd64"
},
{
"addr": "golang:1.17@sha256:6245b2bee36df7a76a983b7213af5765d6b61fda5a44fbaf95716135af152dac",
"new_tag": "registry.self/weilaaa/golang:1.17-amd64-v8"
}
],
"auto": true,
"manifest": "registry.self/weilaaa/golang:1.17-multi"
}
]
- move images by specified platform rather than digest
[
{
"sources": [
{
"addr": "golang:1.17",
"platform": "amd64",
"new_tag": "registry.self/weilaaa/golang:1.17-amd64"
},
{
"addr": "golang:1.17",
"platform": "arm64",
"new_tag": "registry.self/weilaaa/golang:1.17-amd64"
}
],
"auto": true,
"manifest": "registry.self/weilaaa/golang:1.17-multi"
}
]
- move single image to another place without creating manifest
you can remark what ever you want in config json file
[
{
"sources": [
{
"addr": "golang:1.17@sha256:d860e175278037ee2429fecb1150bf10635ff4488c5a6faf695b169bf2c0868f",
"remark": "my-image",
"new_tag": "registry.self/weilaaa/golang:1.17-amd64"
}
]
}
]
you can find tutorials here
serially execute project operation
make run-serial
parallels execute project operation
make run-parallels