Can't delete Docker Image from Registry

后端 未结 1 1671
孤独总比滥情好
孤独总比滥情好 2020-12-22 02:42

Hi I want to delete a docker image from my private registry the steps that I did was:

I already did what the solution of How can I use the Docker Registry API V2 to

相关标签:
1条回答
  • 2020-12-22 03:32

    In all likelihood, it means, that you have deleted the manifest, and this is right first step. To delete actual data from disk, you need to run docker registry garbage collector on registry host machine.

    docker exec -it registry bin/registry garbage-collect /etc/docker/registry/config.yml
    

    The info is from that comment

    Also, as some adv, I want to propose you to check my docker registry web UI =) There is the possibility to delete an images from registry right with that UI.

    0 讨论(0)
提交回复
热议问题