

Configure and run the ' Docker - Delete unused manifests and images' task to delete orphaned docker layers.ĭue to how docker works, the options listed in this article to delete an image manifest will not delete any layers associated with the Docker image, so this task is needed to remove any layers that have been orphaned by the manifest delete.Ģ. Required Final Steps to Completely Delete Docker Assets From Diskġ. Option 4: Clean up Docker Images by AgeĬheck the Fix Version of issue NEXUS-11435 to learn about when this feature is available. Use the Delete button exposed after a Component is selected. Signin to the Nexus UI and Browse to the Docker manifests you wish to delete. You can obtain the component ID by searching for the docker image via its coordinates (name, version, repo) using the Search API. Option 2: Delete Docker components using the Nexus REST API plus a scheduled taskĭelete the docker component via the Component API: DELETE /service/rest/beta/components/

The trick is using this method successfully is using correct manifest hash. Option 1: Use the official docker API directly There are several ways to delete Docker images from Nexus Repository Manager. Options to Mark Docker Images as Soft Deleted
