containers / skopeo

Work with remote images registries - retrieving information, images, signing content
Apache License 2.0
7.83k stars 758 forks source link

Improve skopeo copy output #396

Closed myllynen closed 5 years ago

myllynen commented 6 years ago

When copying an image with something like:

skopeo copy --dest-tls-verify=true --dest-cert-dir=/etc/docker-distribution/registry docker://registry.access.redhat.com/openshift3/ose-pod:v3.6.173.0.5-2 docker://registry.example.com:5000/openshift3/ose-pod:v3.6.173.0.5-2

The output looks like:

Getting image source signatures Copying blob sha256:d55ab3b04d8b1b93041514fd0cf77b95c52b4c6a51ee3b403d5bbaf1dbc12a1c 67.78 MB / ? [---------------------------------------------------------------=] 68.81 MB / ? [-----------------------------=---------------------------------] Copying blob sha256:b94f985aad49d8208054f5627b69dba26556628517313cb30ec620fa9d363787 0 B / ? [--------------------------------------------------------------------=] Copying blob sha256:2415f7f88d0df511ded4b1e3f33299823a42e94a1273e1403c48187fe9f9db4b 70.53 MB / ? [---------------------------------------------------------------=] Copying blob sha256:bfbf30eb4a820bfa20ddf28fba0ba09cac3d72cb66d0fc6e37da26a6f419132e 112.52 MB / ? [-----------------------------------------------=--------------] 113.27 MB / ? [--------=-----------------------------------------------------] Copying blob sha256:9fa798e1095cbbaf650f4bc8c65160108d86b15888b1aee34ab7e51a738afc98 0 B / ? [--------------------------------------------------------------------=] Copying config sha256:d013dee513e7cdc7d42a1db9315ef51f04661783cf52e0dd32f4e1fc426595ee 0 B / 4.59 KB [---------------------------------------------------------------] Writing manifest to image destination Storing signatures

Notice the following issues:

Please consider fixing / improving these. Thanks.

mtrmac commented 6 years ago

All good points, thanks.

rhatdan commented 5 years ago

Skopeo output has been improved.