docker run --rm --entrypoint /bin/sh -it -d quay.io/cluster-api-provider-ibmcloud/clusterctl
docker exec -it 5ed19cf131d5 /bin/sh
docker cp 5ed19cf131d5:/bin/clusterctl ./
rm -rf /var/lib/docker/volumes/ ; service docker restart
docker run --rm --entrypoint "" -v ${PWD}:/tmp quay.io/cluster-api-provider-ibmcloud/clusterctl /bin/sh -c "cp /bin/clusterctl /tmp"
docker save -o images.tar img1:9.6 img2:3.4
docker load -i images.tar
# 需要安装trivy
trivy registry.access.redhat.com/ubi8/ubi-minimal:latest
:) 未完待续……
LEo at 00:12