-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
propose intelligent deletion management approach #210
Comments
Why is this closed? |
Soft delete have been implemented as part of the API, and more specialized issues have been opened for garbage collection. |
@dmp42 does soft delete, delete only the repository records/data and not the actual files & folders on the disk? can we use soft delete atm? |
@tunix you should find info about it here: https://github.com/docker/distribution/blob/master/docs/spec/api.md#deleting-a-layer Soft delete only delete references, and not the actual files. |
Currently, deletes of content in the registry are allowed with administration privileges. This means layers and manifests can be deleted, with extreme prejudice. This meets most use cases where the goal is to remove old or unused layers. Unfortunately, this allows for one to corrupt a manifests by deleting dependent data. This is insufficient for integration into the docker client.
The registry API allows deletion of registry objects under various scenarios. The initial intent of the new registry implementation was to have deletes be integrated from the start. With the current state of the manifest specification, deletes were challenging to implement or impossible to implement reliably. Changes are occurring to address this in #62.
There are several aspects to this problem:
We need to propose a solution that can allow for all proposed deletes in a reliable and safe manner.
The text was updated successfully, but these errors were encountered: