containers / skopeo

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

Can skopeo sync layer the images with the same name but different tags under the same folder in the dir #2349

Open anushka-jainn opened 3 weeks ago

anushka-jainn commented 3 weeks ago

Hello team, Can skopeo sync with docker as src and dir as dest, layer the images with the same name but different tags under the same folder in the dir. As this will help in drastically reducing the size

mtrmac commented 3 weeks ago

Thanks for reaching out.

That’s not available. Registries already implement all of this, and more, so doing all of that again for dir: seems unnecessary.

Use a registry server, perhaps running in a container, with a backing volume mounted in to the container. Then you can transfer the contents of that volume to the other system, and run a registry server with the same volume mounted again.