Description of problem:
Docker image layers are essentially permanent objects. Pulp overwrites image layers during upload.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. docker save image
2. upload an image
3. create a new image based on previous image
4. upload image
All image layers are replaced in repo
Only the new layers should be added to repo
Looking at the code, it appears that it will not overwrite the files in /var/lib/pulp/content/ if they already exist. Are you seeing something different?
Please elaborate on what makes you think the layers are being overwritten.
Since we haven't received the information we are going to close this. Please reopen it if you have more info to help us resolve it.