Housekeep your local image registry

Zhimin Wen
3 min readFeb 23, 2022
Image by 👀 Mabel Amber, who will one day from Pixabay

You may have a local image registry setup (using docker.io/registry:2) where you manage your own images. But after a while, housekeeping is required.

Remove individual image

Instead of calling some of the registry API through curl, let’s use the tool called crane from the go-containerregistry repo.

--

--