I need to efficiently copy Docker images between two air gapped repositories. The current method of saving images to disk and transferring them as tarballs is time-consuming, so I am looking for a process that will:
- Eliminate redundant image layers by only copying each layer once, even if it is used by multiple images.
- Avoid copying layers that already exist in the remote repository.
Is this possible? How can I do it?